Skip to content

Commit 4baa659

Browse files
AndPuQingmiss-islington
authored andcommitted
pythongh-135489: Show verbose output for failing tests during PGO profiling step with --enable-optimizations (pythonGH-135512)
(cherry picked from commit 5b3a826) Co-authored-by: PuQing <[email protected]>
1 parent be1ca79 commit 4baa659

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)