libphobos: Override tool_timeout value in testsuite

Some of the larger tests in the phobos testsuite on occasion trigger the
default timeout limit.  Increasing the limit to 10 minutes should give
compilation enough time to finish.

libphobos/ChangeLog:

	* testsuite/lib/libphobos.exp: Define tool_timeout, set to 600.
This commit is contained in:
Iain Buclaw 2020-10-12 10:11:44 +02:00
parent 893f9543bf
commit edafa96b82
1 changed files with 4 additions and 0 deletions

View File

@ -105,6 +105,7 @@ proc libphobos_init { args } {
global gdcpaths gdcldflags
global gluefile wrap_flags
global ld_library_path
global tool_timeout
global DEFAULT_DFLAGS
# If a testcase doesn't have special options, use these.
@ -185,6 +186,9 @@ proc libphobos_init { args } {
}
}
# Set the default timeout for phobos tests.
set tool_timeout 600
set_ld_library_path_env_vars
libphobos_maybe_build_wrapper "${objdir}/testglue.o"