diff options
author | Jon Atack <jon@atack.com> | 2019-07-11 21:18:02 +0200 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2019-07-15 10:14:23 +0200 |
commit | e142ee03e7a139168aa1dbf5910c616f60d25042 (patch) | |
tree | 8aefe5ecbc0da435ace471854fdf358436ff92ee | |
parent | 6a7a70b8cf05a82737c72020fd2b0eebc97cb5e4 (diff) |
doc: describe how to pass wildcard names to test runner
-rw-r--r-- | test/README.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/README.md b/test/README.md index ecea3213ab..8f08b7afe4 100644 --- a/test/README.md +++ b/test/README.md @@ -49,6 +49,29 @@ You can run any combination (incl. duplicates) of tests by calling: test/functional/test_runner.py <testname1> <testname2> <testname3> ... ``` +Wildcard test names can be passed, if the paths are coherent and the test runner +is called from a `bash` shell or similar that does the globbing. For example, +to run all the wallet tests: + +``` +test/functional/test_runner.py test/functional/wallet* +functional/test_runner.py functional/wallet* (called from the test/ directory) +test_runner.py wallet* (called from the test/functional/ directory) +``` + +but not + +``` +test/functional/test_runner.py wallet* +``` + +Combinations of wildcards can be passed: + +``` +test/functional/test_runner.py ./test/functional/tool* test/functional/mempool* +test_runner.py tool* mempool* +``` + Run the regression test suite with: ``` |