diff options
| author | Martin Hořeňovský | 2022-01-27 11:21:43 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2022-01-27 20:15:05 +0100 |
| commit | dc86d51af2a7e37bf19bb5b9cfc510ebc47d7573 (patch) | |
| tree | 3c23389217fc1a21098ee2d7ac65846bc5738f14 /tools/scripts/approvalTests.py | |
| parent | 5121660e7ff38e171ac01ded949502a5dba7570f (diff) | |
| download | catch3-dc86d51af2a7e37bf19bb5b9cfc510ebc47d7573.tar.gz | |
Update version string to mention Catch2
Diffstat (limited to 'tools/scripts/approvalTests.py')
| -rwxr-xr-x | tools/scripts/approvalTests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/scripts/approvalTests.py b/tools/scripts/approvalTests.py index 1057c4ad..59b00d01 100755 --- a/tools/scripts/approvalTests.py +++ b/tools/scripts/approvalTests.py @@ -35,7 +35,7 @@ durationsParser = re.compile(r' time="[0-9]*\.[0-9]*"') junitDurationsParser = re.compile(r' time="[0-9]+\.[0-9]{3}"') durationParser = re.compile(r''' duration=['"][0-9]+['"]''') timestampsParser = re.compile(r'\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}Z') -versionParser = re.compile(r'Catch v[0-9]+\.[0-9]+\.[0-9]+(-\w*\.[0-9]+)?') +versionParser = re.compile(r'Catch2 v[0-9]+\.[0-9]+\.[0-9]+(-\w*\.[0-9]+)?') nullParser = re.compile(r'\b(__null|nullptr)\b') exeNameParser = re.compile(r''' \b @@ -140,7 +140,7 @@ def filterLine(line, isCompact): # strip out the test order number in TAP to avoid massive diffs for every change line = tapTestNumParser.sub("\g<1> {test-number} -", line) - # strip Catch version number + # strip Catch2 version number line = versionParser.sub("<version>", line) # replace *null* with 0 |