diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-10-12 10:11:44 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-10-12 12:14:47 +0200 |
commit | edafa96b8210227b0c6a2d539aa41ce529805441 (patch) | |
tree | 5315400cf316862c9e2c93e2cce7bcee7066425b | |
parent | 893f9543bff19aa3be07fff05bf1abf6a0b8dd56 (diff) | |
download | gcc-edafa96b8210227b0c6a2d539aa41ce529805441.zip gcc-edafa96b8210227b0c6a2d539aa41ce529805441.tar.gz gcc-edafa96b8210227b0c6a2d539aa41ce529805441.tar.bz2 |
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.
-rw-r--r-- | libphobos/testsuite/lib/libphobos.exp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libphobos/testsuite/lib/libphobos.exp b/libphobos/testsuite/lib/libphobos.exp index 2e9da95..790480b 100644 --- a/libphobos/testsuite/lib/libphobos.exp +++ b/libphobos/testsuite/lib/libphobos.exp @@ -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" |