Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/tests/TestScripts/testRandomOrder.py
diff options
context:
space:
mode:
authorMartin Hořeňovský2020-07-11 21:31:08 +0200
committerMartin Hořeňovský2020-07-26 10:51:55 +0200
commit250d9b9c72219cc196e971356705af6fd24b6ed2 (patch)
treeb0f292c95f312474034a4a500bf21c9509c37f2c /tests/TestScripts/testRandomOrder.py
parent90d6fd849ee034fee5caa25f51c7ca107c9e6eca (diff)
downloadcatch3-250d9b9c72219cc196e971356705af6fd24b6ed2.tar.gz
Fix how testRandomOrder.py builds tag arguments
Diffstat (limited to 'tests/TestScripts/testRandomOrder.py')
-rwxr-xr-xtests/TestScripts/testRandomOrder.py4
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()