[Notes] [Git][BuildStream/buildstream][jennis/correct_HACKING] HACKING.rst: Remove -k flag for individual tests as this is not required



Title: GitLab

James Ennis pushed to branch jennis/correct_HACKING at BuildStream / buildstream

Commits:

1 changed file:

Changes:

  • HACKING.rst
    ... ... @@ -465,12 +465,12 @@ If you want to run a specific test or a group of tests, you
    465 465
     can specify a prefix to match. E.g. if you want to run all of
    
    466 466
     the frontend tests you can do::
    
    467 467
     
    
    468
    -  ./setup.py test --addopts '-k tests/frontend/'
    
    468
    +  ./setup.py test --addopts 'tests/frontend/'
    
    469 469
     
    
    470 470
     Specific tests can be chosen by using the :: delimeter after the test module.
    
    471 471
     If you wanted to run the test_build_track test within frontend/buildtrack.py you could do::
    
    472 472
     
    
    473
    -  ./setup.py test --adopts '-k tests/frontend/buildtrack.py::test_build_track'
    
    473
    +  ./setup.py test --addopts 'tests/frontend/buildtrack.py::test_build_track'
    
    474 474
     
    
    475 475
     We also have a set of slow integration tests that are disabled by
    
    476 476
     default - you will notice most of them marked with SKIP in the pytest
    



  • [Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]