Message ID | 20201126162521.GA2154445@redhat.com |
---|---|
State | New |
Headers | show |
Series | [committed] libstdc++: Allow dejagnu tool_timeout to be overridden | expand |
diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index 9ba4ced48830..bde8cc0cc91f 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -246,7 +246,10 @@ proc libstdc++_init { testfile } { } # Set the default timeout for v3 tests. - set tool_timeout 600 + # You can override this in ~/.dejagnurc or a .exp file named by $DEJAGNU. + if {![info exists tool_timeout]} { + set tool_timeout 600 + } # Default settings. set cxx [transform "g++"]