]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++ testsuite/20_util/hash/quality.cc: Increase timeout 3x
authorHans-Peter Nilsson <hp@axis.com>
Fri, 29 Dec 2023 22:06:45 +0000 (23:06 +0100)
committerHans-Peter Nilsson <hp@bitrange.com>
Sun, 31 Dec 2023 17:17:13 +0000 (18:17 +0100)
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.

libstdc++-v3/testsuite/20_util/hash/quality.cc

index 7d4208ed6d21753275d50cd0f23168a0727c332b..811110efc02604403403fa28aa01e7385660234e 100644 (file)
@@ -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.
 //