diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-09-04 04:08:34 -0400 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-09-04 04:14:54 -0400 |
commit | 2d6f0a291f310b6ece9cc9e434ab7d1ff3e8cdfe (patch) | |
tree | 646c8967f241c31f37b6882aba95b9d31a3e93bd /HACKING.rst | |
parent | 3b8b8f9cee23fc87502af801ad406e32bfc348b4 (diff) | |
download | buildstream-2d6f0a291f310b6ece9cc9e434ab7d1ff3e8cdfe.tar.gz |
HACKING.rst: Adding a little reminder of how to invoke specific tests
Diffstat (limited to 'HACKING.rst')
-rw-r--r-- | HACKING.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/HACKING.rst b/HACKING.rst index 022d8a5fa..cedace94e 100644 --- a/HACKING.rst +++ b/HACKING.rst @@ -219,6 +219,12 @@ You can always abort on the first failure by running:: ./setup.py test --addopts -x +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 --addopts 'tests/frontend/' + Adding Tests ~~~~~~~~~~~~ |