Skip to content

Commit 9db248f

Browse files
committed
Update end_to_end_test_utilities.py
1 parent e03797c commit 9db248f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/scripts/end_to_end_test_utilities.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,11 @@ def run_trace_test(cwd: pathlib.Path, config: TestConfig, expected_improvement_p
206206
return False
207207

208208
functions_traced = re.search(r"Traced (\d+) function calls successfully and replay test created at - (.*)$", stdout)
209-
if not functions_traced or int(functions_traced.group(1)) != 13:
209+
if not functions_traced:
210+
logging.error("Failed to find traced functions in output")
211+
return False
212+
if int(functions_traced.group(1)) != 13:
213+
logging.error(functions_traced.groups())
210214
logging.error("Expected 13 traced functions")
211215
return False
212216

0 commit comments

Comments
 (0)