From: Iain Buclaw Date: Mon, 12 Oct 2020 08:11:44 +0000 (+0200) Subject: libphobos: Override tool_timeout value in testsuite X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=edafa96b8210227b0c6a2d539aa41ce529805441;p=gcc.git 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. --- diff --git a/libphobos/testsuite/lib/libphobos.exp b/libphobos/testsuite/lib/libphobos.exp index 2e9da95ac1c..790480bf95c 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"