googletest-output-test: fix RemoveTestCounts for non-golden platforms
This seems to have been missed when renaming "test cases" -> "test suites"
in 3a460a26b7
.
Presumably no such platform is regularly tested...
This commit is contained in:
parent
f10e11fb27
commit
01f9c536ce
@ -175,7 +175,7 @@ def RemoveTestCounts(output):
|
|||||||
output = re.sub(r'\d+ tests?, listed below', '? tests, listed below', output)
|
output = re.sub(r'\d+ tests?, listed below', '? tests, listed below', output)
|
||||||
output = re.sub(r'\d+ FAILED TESTS', '? FAILED TESTS', output)
|
output = re.sub(r'\d+ FAILED TESTS', '? FAILED TESTS', output)
|
||||||
output = re.sub(
|
output = re.sub(
|
||||||
r'\d+ tests? from \d+ test cases?', '? tests from ? test cases', output
|
r'\d+ tests? from \d+ test suites?', '? tests from ? test suites', output
|
||||||
)
|
)
|
||||||
output = re.sub(r'\d+ tests? from ([a-zA-Z_])', r'? tests from \1', output)
|
output = re.sub(r'\d+ tests? from ([a-zA-Z_])', r'? tests from \1', output)
|
||||||
return re.sub(r'\d+ tests?\.', '? tests.', output)
|
return re.sub(r'\d+ tests?\.', '? tests.', output)
|
||||||
|
Loading…
Reference in New Issue
Block a user