aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2021-08-08 04:16:48 +0200
committerHans-Peter Nilsson <hp@bitrange.com>2021-08-08 10:52:50 +0200
commite9b639c4b532212ca92b2261f820768993770daa (patch)
tree2d6527d4bb5191a2a7ba356e4847165f8e5f7505
parent7b51202c2a02c24e70b1924d468186130b2c09b7 (diff)
downloadgcc-e9b639c4b532212ca92b2261f820768993770daa.zip
gcc-e9b639c4b532212ca92b2261f820768993770daa.tar.gz
gcc-e9b639c4b532212ca92b2261f820768993770daa.tar.bz2
libstdc++: Tweak timeout for testsuite/std/ranges/iota/max_size_type.cc
A simulator can easily spend more than 10 minutes running this test-case, and the default timeout is at 5 minutes. Better allow even slower machines; use 4 as the factor. Regarding relative runtime numbers (very local; mmixware simulator for mmix-knuth-mmixware): test01 and test05 finish momentarily; test02 at about 2 minutes, and test03 about 2m30, but test04 itself runs for more than 6 minues and so times out. Not sure if it's better to split up this test, as the excessive runtime may be unintended, but this seemed simplest. libstdc++-v3: * testsuite/std/ranges/iota/max_size_type.cc: Set dg-timeout-factor to 4.
-rw-r--r--libstdc++-v3/testsuite/std/ranges/iota/max_size_type.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/std/ranges/iota/max_size_type.cc b/libstdc++-v3/testsuite/std/ranges/iota/max_size_type.cc
index 983bdfb..a52e8e6 100644
--- a/libstdc++-v3/testsuite/std/ranges/iota/max_size_type.cc
+++ b/libstdc++-v3/testsuite/std/ranges/iota/max_size_type.cc
@@ -17,6 +17,7 @@
// { dg-options "-std=gnu++2a" }
// { dg-do run { target c++2a } }
+// { dg-timeout-factor 4 }
#include <limits>
#include <ranges>