[gcc r12-3596] libstdc++: Increase timeout factor for slow pb_ds tests

Jonathan Wakely redi@gcc.gnu.org
Thu Sep 16 22:07:25 GMT 2021


https://gcc.gnu.org/g:433789330609c571983a4e1f5c3e0caf3d7a6178

commit r12-3596-g433789330609c571983a4e1f5c3e0caf3d7a6178
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Thu Sep 16 20:10:02 2021 +0100

    libstdc++: Increase timeout factor for slow pb_ds tests
    
    Compiling these tests still times out too often when running the
    testsuite with more parallel jobs than there are available cores.
    
    Signed-off-by: Jonathan Wakely <jwakely@redhat.com>
    
    libstdc++-v3/ChangeLog:
    
            * testsuite/ext/pb_ds/regression/tree_map_rand.cc: Increase
            timeout factor to 3.
            * testsuite/ext/pb_ds/regression/tree_set_rand.cc: Likewise.

Diff:
---
 libstdc++-v3/testsuite/ext/pb_ds/regression/tree_map_rand.cc | 2 +-
 libstdc++-v3/testsuite/ext/pb_ds/regression/tree_set_rand.cc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libstdc++-v3/testsuite/ext/pb_ds/regression/tree_map_rand.cc b/libstdc++-v3/testsuite/ext/pb_ds/regression/tree_map_rand.cc
index 8ff6e926003..62904749ee7 100644
--- a/libstdc++-v3/testsuite/ext/pb_ds/regression/tree_map_rand.cc
+++ b/libstdc++-v3/testsuite/ext/pb_ds/regression/tree_map_rand.cc
@@ -4,7 +4,7 @@
 // { dg-require-cstdint "" }
 // This can take long on simulators, timing out the test.
 // { dg-options "-DITERATIONS=5" { target simulator } }
-// { dg-timeout-factor 2.0 }
+// { dg-timeout-factor 3.0 }
 
 // -*- C++ -*-
 
diff --git a/libstdc++-v3/testsuite/ext/pb_ds/regression/tree_set_rand.cc b/libstdc++-v3/testsuite/ext/pb_ds/regression/tree_set_rand.cc
index af7f7ffde22..16a864e0e30 100644
--- a/libstdc++-v3/testsuite/ext/pb_ds/regression/tree_set_rand.cc
+++ b/libstdc++-v3/testsuite/ext/pb_ds/regression/tree_set_rand.cc
@@ -4,7 +4,7 @@
 // { dg-require-cstdint "" }
 // This can take long on simulators, timing out the test.
 // { dg-options "-DITERATIONS=5" { target simulator } }
-// { dg-timeout-factor 2.0 }
+// { dg-timeout-factor 3.0 }
 
 // -*- C++ -*-


More information about the Libstdc++-cvs mailing list