From 84803a6803064e58a91cbd4642239e8b399bc53e Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Tue, 14 Jan 2025 15:03:04 -0600 Subject: [PATCH] tmp: show errors on bolt profile test failure --- Lib/test/libregrtest/cmdline.py | 2 -- configure | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Lib/test/libregrtest/cmdline.py b/Lib/test/libregrtest/cmdline.py index bf9a71efbdbff9a..c388e1c85c19bd6 100644 --- a/Lib/test/libregrtest/cmdline.py +++ b/Lib/test/libregrtest/cmdline.py @@ -480,8 +480,6 @@ def _parse_args(args, **kwargs): ns.python = shlex.split(ns.python) if ns.failfast and not (ns.verbose or ns.verbose3): parser.error("-G/--failfast needs either -v or -W") - if ns.pgo and (ns.verbose or ns.rerun or ns.verbose3): - parser.error("--pgo/-v don't go together!") if ns.pgo_extended: ns.pgo = True # pgo_extended implies pgo diff --git a/configure b/configure index 70581e11b606829..dac2c1f31b2cc1a 100755 --- a/configure +++ b/configure @@ -8505,7 +8505,7 @@ fi printf %s "checking PROFILE_TASK... " >&6; } if test -z "$PROFILE_TASK" then - PROFILE_TASK='-m test --pgo --timeout=$(TESTTIMEOUT)' + PROFILE_TASK='-m test --pgo --rerun --verbose3 --timeout=$(TESTTIMEOUT)' fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PROFILE_TASK" >&5 printf "%s\n" "$PROFILE_TASK" >&6; }