Skip to content

Commit 28a70a5

Browse files
[3.13] gh-135489: Show verbose output for failing tests during PGO profiling step with --enable-optimizations (#135600)
Co-authored-by: PuQing <me@puqing.work>
1 parent be1ca79 commit 28a70a5

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
@@ -245,7 +245,7 @@ def _runtest(result: TestResult, runtests: RunTests) -> None:
245245
try:
246246
setup_tests(runtests)
247247

248-
if output_on_failure:
248+
if output_on_failure or runtests.pgo:
249249
support.verbose = True
250250

251251
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)