summaryrefslogtreecommitdiff
path: root/HACKING.rst
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 10:34:57 +0000
commit744925f316ec95040b2b4955cce10f2ee370a70e (patch)
tree82a44d6feb77a17cfb536e9198b00b7da5fdb343 /HACKING.rst
parent1bfcca1aa417b4fd4a337785c50ee39d332b8fb4 (diff)
downloadbuildstream-744925f316ec95040b2b4955cce10f2ee370a70e.tar.gz
HACKING.rst: Remove -k flag for individual tests as this is not required
Diffstat (limited to 'HACKING.rst')
-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