mirror of
https://github.com/python/cpython
synced 2024-10-14 08:21:18 +00:00
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.
|
2
configure
vendored
2
configure
vendored
|
@ -6532,7 +6532,7 @@ fi
|
||||||
$as_echo_n "checking PROFILE_TASK... " >&6; }
|
$as_echo_n "checking PROFILE_TASK... " >&6; }
|
||||||
if test -z "$PROFILE_TASK"
|
if test -z "$PROFILE_TASK"
|
||||||
then
|
then
|
||||||
PROFILE_TASK='-m test --pgo'
|
PROFILE_TASK='-m test --pgo --timeout=$(TESTTIMEOUT)'
|
||||||
fi
|
fi
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROFILE_TASK" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROFILE_TASK" >&5
|
||||||
$as_echo "$PROFILE_TASK" >&6; }
|
$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)
|
AC_MSG_CHECKING(PROFILE_TASK)
|
||||||
if test -z "$PROFILE_TASK"
|
if test -z "$PROFILE_TASK"
|
||||||
then
|
then
|
||||||
PROFILE_TASK='-m test --pgo'
|
PROFILE_TASK='-m test --pgo --timeout=$(TESTTIMEOUT)'
|
||||||
fi
|
fi
|
||||||
AC_MSG_RESULT($PROFILE_TASK)
|
AC_MSG_RESULT($PROFILE_TASK)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue