diff mbox series

[committed] libphobos: Override tool_timeout value in testsuite

Message ID 20201012101749.3306582-1-ibuclaw@gdcproject.org
State New
Headers show
Series [committed] libphobos: Override tool_timeout value in testsuite | expand

Commit Message

Iain Buclaw Oct. 12, 2020, 10:17 a.m. UTC
Hi,

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.

Regression tested on x86_64-linux-gnu, and committed to mainline.

Regards,
Iain.

---
libphobos/ChangeLog:

	* testsuite/lib/libphobos.exp: Define tool_timeout, set to 600.
---
 libphobos/testsuite/lib/libphobos.exp | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

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"