[gcc r11-5574] libstdc++: Reduce default test timeout to 360 seconds

Jonathan Wakely redi@gcc.gnu.org
Mon Nov 30 14:56:16 GMT 2020


https://gcc.gnu.org/g:637800c7bbb222a629076a5d20afda03c2dd1043

commit r11-5574-g637800c7bbb222a629076a5d20afda03c2dd1043
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Mon Nov 30 14:39:54 2020 +0000

    libstdc++: Reduce default test timeout to 360 seconds
    
    The current default of 10 minutes is much longer than most tests need on
    common hardware. The slow tests all now have a dg-timeout-factor
    directive that gives them more time to run relative to the default. The
    default can also be overridden in ~/.dejagnurc or DEJAGNU=site.exp, so
    it seems unnecessary to have such a large default.
    
    This reduces the default from 10 minutes to 6 minutes, which still seems
    more than enough.
    
    libstdc++-v3/ChangeLog:
    
            * testsuite/lib/libstdc++.exp (libstdc++_init): Reduce
            default tool_timeout to 360.

Diff:
---
 libstdc++-v3/testsuite/lib/libstdc++.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp
index e000dba968f..35817a8870a 100644
--- a/libstdc++-v3/testsuite/lib/libstdc++.exp
+++ b/libstdc++-v3/testsuite/lib/libstdc++.exp
@@ -248,7 +248,7 @@ proc libstdc++_init { testfile } {
     # Set the default timeout for v3 tests.
     # You can override this in ~/.dejagnurc or a .exp file named by $DEJAGNU.
     if {![info exists tool_timeout]} {
-      set tool_timeout 600
+      set tool_timeout 360
     }
 
     # Default settings.


More information about the Libstdc++-cvs mailing list