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

summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorMartin Hořeňovský2022-01-27 11:21:43 +0100
committerMartin Hořeňovský2022-01-27 20:15:05 +0100
commitdc86d51af2a7e37bf19bb5b9cfc510ebc47d7573 (patch)
tree3c23389217fc1a21098ee2d7ac65846bc5738f14 /tools
parent5121660e7ff38e171ac01ded949502a5dba7570f (diff)
downloadcatch3-dc86d51af2a7e37bf19bb5b9cfc510ebc47d7573.tar.gz
Update version string to mention Catch2
Diffstat (limited to 'tools')
-rwxr-xr-xtools/scripts/approvalTests.py4
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