diff options
| author | Jon Atack <[email protected]> | 2019-07-11 21:18:02 +0200 |
|---|---|---|
| committer | Jon Atack <[email protected]> | 2019-07-15 10:14:23 +0200 |
| commit | e142ee03e7a139168aa1dbf5910c616f60d25042 (patch) | |
| tree | 8aefe5ecbc0da435ace471854fdf358436ff92ee /test/README.md | |
| parent | test: enable passing wildcards with path to test runner (diff) | |
| download | discoin-e142ee03e7a139168aa1dbf5910c616f60d25042.tar.xz discoin-e142ee03e7a139168aa1dbf5910c616f60d25042.zip | |
doc: describe how to pass wildcard names to test runner
Diffstat (limited to 'test/README.md')
| -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 ecea3213a..8f08b7afe 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: ``` |