catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Fix how testRandomOrder.py builds tag arguments
- Commit
250d9b9c72219cc196e971356705af6fd24b6ed2- Author
- Martin Hořeňovský ·
- Parents
90d6fd849ee0
Changes
tests/TestScripts/testRandomOrder.py | 4 ++-- 1 file 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()