Update version string to mention Catch2

This commit is contained in:
Martin Hořeňovský 2022-01-27 11:21:43 +01:00
parent 5121660e7f
commit dc86d51af2
No known key found for this signature in database
GPG key ID: DE48307B8B0D381A
4 changed files with 6 additions and 6 deletions

View file

@ -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