diff options
| author | Martin Hořeňovský | 2022-04-19 10:32:13 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2022-04-19 10:32:13 +0200 |
| commit | 17a04f88d90d3687bd561e89dab40e4ba6a55b83 (patch) | |
| tree | 76ccd8e074c7ed3e63cc7fa34be219cdb8a86627 /tests/TestScripts/testConfigureDefaultReporter.py | |
| parent | 90e69050505ff210ca29e1c9e8feaf598de4fc74 (diff) | |
| download | catch3-17a04f88d90d3687bd561e89dab40e4ba6a55b83.tar.gz | |
Always report rng seed from builtin reporters
Not all reporters use a format that supports this, so TeamCity
and Automake reporters still do not report it. The console
reporter now reports it even on successful runs, where before
it only reported the rng seed in the header, which was showed
either for failed run, or for run with `-s`.
CLoses #2065
Diffstat (limited to 'tests/TestScripts/testConfigureDefaultReporter.py')
| -rw-r--r-- | tests/TestScripts/testConfigureDefaultReporter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/TestScripts/testConfigureDefaultReporter.py b/tests/TestScripts/testConfigureDefaultReporter.py index 24ec8228..66c88da0 100644 --- a/tests/TestScripts/testConfigureDefaultReporter.py +++ b/tests/TestScripts/testConfigureDefaultReporter.py @@ -38,7 +38,7 @@ stdout, _ = run_and_return_output(os.path.join(build_dir_path, 'tests'), 'SelfTe # This matches the summary line made by compact reporter, console reporter's # summary line does not match the regex. summary_regex = 'Passed \d+ test case with \d+ assertions.' -if not re.match(summary_regex, stdout): +if not re.search(summary_regex, stdout): print("Could not find '{}' in the stdout".format(summary_regex)) print('stdout: "{}"'.format(stdout)) exit(2) |