summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-01-27 10:16:15 (GMT)
committerGitHub <noreply@github.com>2021-01-27 10:16:15 (GMT)
commit6790005a9a30ae3eca69d1957fb072171643a366 (patch)
tree3648e7157062c53950042666b3e7aee99960715d /configure
parent5327f370344a627f1578d8183d197feb286371c6 (diff)
downloadcpython-6790005a9a30ae3eca69d1957fb072171643a366.zip
cpython-6790005a9a30ae3eca69d1957fb072171643a366.tar.gz
cpython-6790005a9a30ae3eca69d1957fb072171643a366.tar.bz2
bpo-43031: Set a timeout when running tests in PGO build (GH-24339)
Pass --timeout=$(TESTTIMEOUT) option to the default profile task "./python -m test --pgo" command.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 37ee369..39fb15f 100755
--- a/configure
+++ b/configure
@@ -6532,7 +6532,7 @@ fi
$as_echo_n "checking PROFILE_TASK... " >&6; }
if test -z "$PROFILE_TASK"
then
- PROFILE_TASK='-m test --pgo'
+ PROFILE_TASK='-m test --pgo --timeout=$(TESTTIMEOUT)'
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROFILE_TASK" >&5
$as_echo "$PROFILE_TASK" >&6; }