8000 gh-135489: Show verbose output for failing tests during PGO profiling… · python/cpython@5b3a826 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5b3a826

Browse files
authored
gh-135489: Show verbose output for failing tests during PGO profiling step with --enable-optimizations (#135512)
1 parent 7c68589 commit 5b3a826

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Lib/test/libregrtest/single.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ def _runtest(result: TestResult, runtests: RunTests) -> None:
283283
try:
284284
setup_tests(runtests)
285285

286-
if output_on_failure:
286+
if output_on_failure or runtests.pgo:
287287
support.verbose = True
288288

289289
stream = io.StringIO()
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Show verbose output for failing tests during PGO profiling step with --enable-optimizations.

0 commit comments

Comments
 (0)
0