Skip to content

Commit d2292c2

Browse files
[3.14] gh-135489: Show verbose output for failing tests during PGO profiling step with --enable-optimizations (#135599)
(cherry picked from commit 5b3a826) Co-authored-by: PuQing <me@puqing.work>
1 parent 2b1c0a7 commit d2292c2

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)