mirror of https://github.com/python/cpython
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.
This commit is contained in:
parent
5327f37034
commit
6790005a9a
|
@ -0,0 +1,2 @@
|
|||
Pass ``--timeout=$(TESTTIMEOUT)`` option to the default profile task
|
||||
``./python -m test --pgo`` command.
|
|
@ -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; }
|
||||
|
|
|
@ -1325,7 +1325,7 @@ AC_ARG_VAR(PROFILE_TASK, Python args for PGO generation task)
|
|||
AC_MSG_CHECKING(PROFILE_TASK)
|
||||
if test -z "$PROFILE_TASK"
|
||||
then
|
||||
PROFILE_TASK='-m test --pgo'
|
||||
PROFILE_TASK='-m test --pgo --timeout=$(TESTTIMEOUT)'
|
||||
fi
|
||||
AC_MSG_RESULT($PROFILE_TASK)
|
||||
|
||||
|
|
Loading…
Reference in New Issue