diff options
| author | Martin Hořeňovský | 2020-07-11 21:31:08 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2020-07-26 10:51:55 +0200 |
| commit | 250d9b9c72219cc196e971356705af6fd24b6ed2 (patch) | |
| tree | b0f292c95f312474034a4a500bf21c9509c37f2c /tests/TestScripts | |
| parent | 90d6fd849ee034fee5caa25f51c7ca107c9e6eca (diff) | |
| download | catch3-250d9b9c72219cc196e971356705af6fd24b6ed2.tar.gz | |
Fix how testRandomOrder.py builds tag arguments
Diffstat (limited to 'tests/TestScripts')
| -rwxr-xr-x | tests/TestScripts/testRandomOrder.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/TestScripts/testRandomOrder.py b/tests/TestScripts/testRandomOrder.py index cfd867b9..e7d7eca1 100755 --- a/tests/TestScripts/testRandomOrder.py +++ b/tests/TestScripts/testRandomOrder.py @@ -16,9 +16,9 @@ import xml.etree.ElementTree as ET def list_tests(self_test_exe, tags, rng_seed): cmd = [self_test_exe, '--reporter', 'xml', '--list-tests', '--order', 'rand', '--rng-seed', str(rng_seed)] - tags_arg = ','.join('[{}]'.format(t) for t in tags) + tags_arg = ','.join('[{}]~[.]'.format(t) for t in tags) if tags_arg: - cmd.append(tags_arg + '~[.]') + cmd.append(tags_arg) process = subprocess.Popen( cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) stdout, stderr = process.communicate() |