[gcc r14-6873] libstdc++ testsuite/20_util/hash/quality.cc: Increase timeout 3x

Hans-Peter Nilsson hp@gcc.gnu.org
Sun Dec 31 17:17:36 GMT 2023


https://gcc.gnu.org/g:26fe2808d8c9c4fccc9181af8c4cec5a766260a4

commit r14-6873-g26fe2808d8c9c4fccc9181af8c4cec5a766260a4
Author: Hans-Peter Nilsson <hp@axis.com>
Date:   Fri Dec 29 23:06:45 2023 +0100

    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:
---
 libstdc++-v3/testsuite/20_util/hash/quality.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libstdc++-v3/testsuite/20_util/hash/quality.cc b/libstdc++-v3/testsuite/20_util/hash/quality.cc
index 7d4208ed6d2..811110efc02 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.
 //


More information about the Gcc-cvs mailing list