summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Pollard <tom.pollard@codethink.co.uk>2018-08-02 10:02:08 +0000
committerTom Pollard <tom.pollard@codethink.co.uk>2018-08-02 10:02:08 +0000
commit039d43e43431957a42193f12f06acb7b95c2eae4 (patch)
tree678194446d4a87ac7e50f932b213588ffb3e0db9
parent592c90616284adaba5a30fae56dad3760226dee4 (diff)
parent4d2e8a14f9a3309eb3d95382a7887e366ea598b7 (diff)
downloadbuildstream-039d43e43431957a42193f12f06acb7b95c2eae4.tar.gz
Merge branch 'Qinusty/docs_changes' into 'master'
HACKING.rst: Add running a single test example See merge request BuildStream/buildstream!597
-rw-r--r--HACKING.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/HACKING.rst b/HACKING.rst
index 67797d6eb..78419a69b 100644
--- a/HACKING.rst
+++ b/HACKING.rst
@@ -470,6 +470,11 @@ the frontend tests you can do::
./setup.py test --addopts '-k 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'
+
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
output. To run them, you can use::