gh-135489: Show verbose output for failing tests during PGO profiling step with --enable-optimizations (#135512)

This commit is contained in:
PuQing 2025-06-17 13:06:48 +08:00 committed by GitHub
parent 7c685894cd
commit 5b3a826888
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -283,7 +283,7 @@ def _runtest(result: TestResult, runtests: RunTests) -> None:
try:
setup_tests(runtests)
if output_on_failure:
if output_on_failure or runtests.pgo:
support.verbose = True
stream = io.StringIO()

View file

@ -0,0 +1 @@
Show verbose output for failing tests during PGO profiling step with --enable-optimizations.