From: Hans-Peter Nilsson Date: Fri, 29 Dec 2023 22:06:45 +0000 (+0100) Subject: libstdc++ testsuite/20_util/hash/quality.cc: Increase timeout 3x X-Git-Tag: basepoints/gcc-15~3266 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26fe2808d8c9c4fccc9181af8c4cec5a766260a4;p=thirdparty%2Fgcc.git libstdc++ testsuite/20_util/hash/quality.cc: Increase timeout 3x Testing for mmix (a 64-bit target using Knuth's simulator). The test is largely pruned for simulators, but still needs 5m57s on my laptop from 3.5 years ago to run to successful completion. Perhaps slow hosted targets could also have problems so increasing the timeout limit, not just for simulators but for everyone, and by more than a factor 2. * testsuite/20_util/hash/quality.cc: Increase timeout by a factor 3. --- diff --git a/libstdc++-v3/testsuite/20_util/hash/quality.cc b/libstdc++-v3/testsuite/20_util/hash/quality.cc index 7d4208ed6d21..811110efc026 100644 --- a/libstdc++-v3/testsuite/20_util/hash/quality.cc +++ b/libstdc++-v3/testsuite/20_util/hash/quality.cc @@ -1,5 +1,6 @@ // { dg-options "-DNTESTS=1 -DNSTRINGS=100 -DSTRSIZE=21" { target simulator } } // { dg-do run { target c++11 } } +// { dg-timeout-factor 3 } // Copyright (C) 2010-2023 Free Software Foundation, Inc. //