Skip to content

Commit bd43f56

Browse files
committed
fixup
1 parent 02829f4 commit bd43f56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/scripts/end_to_end_test_utilities.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,9 @@ def validate_output(stdout: str, return_code: int, expected_improvement_pct: int
181181
return False
182182

183183
if config.expected_unit_tests is not None:
184-
# Match the global test discovery message from optimizer.py
185-
# Format: "Discovered X existing unit tests and Y replay tests in Z.Zs at /path/to/tests"
186-
unit_test_match = re.search(r"Discovered (\d+) existing unit tests? and \d+ replay tests? in", stdout)
184+
# Match the per-function test file discovery message from function_optimizer.py
185+
# Format: "Discovered X existing unit test file(s), Y replay test file(s), and Z concolic coverage test file(s) for function.name"
186+
unit_test_match = re.search(r"Discovered (\d+) existing unit test files?, \d+ replay test files?, and", stdout)
187187
if not unit_test_match:
188188
logging.error("Could not find unit test count")
189189
return False

0 commit comments

Comments
 (0)