summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Ennis <james.ennis@codethink.com>2018-08-24 11:15:45 +0000
committerJames Ennis <james.ennis@codethink.com>2018-08-24 11:15:45 +0000
commitdfee6d75d2a5a9ac501718b4f91b497dea580cf7 (patch)
tree82a44d6feb77a17cfb536e9198b00b7da5fdb343
parent1bfcca1aa417b4fd4a337785c50ee39d332b8fb4 (diff)
parent744925f316ec95040b2b4955cce10f2ee370a70e (diff)
downloadbuildstream-dfee6d75d2a5a9ac501718b4f91b497dea580cf7.tar.gz
Merge branch 'jennis/correct_HACKING' into 'master'
'-k' flag not needed to run individual tests See merge request BuildStream/buildstream!714
-rw-r--r--HACKING.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/HACKING.rst b/HACKING.rst
index 7e2914e77..74256c7b3 100644
--- a/HACKING.rst
+++ b/HACKING.rst
@@ -465,12 +465,12 @@ If you want to run a specific test or a group of tests, you
can specify a prefix to match. E.g. if you want to run all of
the frontend tests you can do::
- ./setup.py test --addopts '-k tests/frontend/'
+ ./setup.py test --addopts 'tests/frontend/'
Specific tests can be chosen by using the :: delimeter after the test module.
If you wanted to run the test_build_track test within frontend/buildtrack.py you could do::
- ./setup.py test --adopts '-k tests/frontend/buildtrack.py::test_build_track'
+ ./setup.py test --addopts 'tests/frontend/buildtrack.py::test_build_track'
We also have a set of slow integration tests that are disabled by
default - you will notice most of them marked with SKIP in the pytest