summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Ennis <james.ennis@codethink.com>2018-08-23 14:20:59 +0000
committerJames Ennis <james.ennis@codethink.com>2018-08-24 09:58:36 +0000
commit2967263b7e01f49e601a00fa8d80e1118d00d992 (patch)
treee388bedba4371681b051224fec8b0c29505bc091
parent255f9ee3eb512e64ca5a674c1144345e5d79843b (diff)
downloadbuildstream-jennis/correct_HACKING.tar.gz
HACKING.rst: Remove -k flag for individual tests as this is not requiredjennis/correct_HACKING
-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