From edafa96b8210227b0c6a2d539aa41ce529805441 Mon Sep 17 00:00:00 2001 From: Iain Buclaw Date: Mon, 12 Oct 2020 10:11:44 +0200 Subject: [PATCH] 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. --- libphobos/testsuite/lib/libphobos.exp | 4 ++++ 1 file changed, 4 insertions(+) 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" -- 2.30.2