]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Add dg-timeout-factor to <chrono> IO tests
authorJonathan Wakely <jwakely@redhat.com>
Tue, 24 Oct 2023 20:50:17 +0000 (21:50 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 26 Oct 2023 20:10:47 +0000 (21:10 +0100)
This avoids failures due to compilation timeouts when testing with a low
tool_timeout value.

libstdc++-v3/ChangeLog:

* testsuite/20_util/duration/io.cc: Double timeout using
dg-timeout-factor.
* testsuite/std/time/day/io.cc: Likewise.
* testsuite/std/time/format.cc: Likewise.
* testsuite/std/time/hh_mm_ss/io.cc: Likewise.
* testsuite/std/time/month/io.cc: Likewise.
* testsuite/std/time/month_day/io.cc: Likewise.
* testsuite/std/time/month_day_last/io.cc: Likewise.
* testsuite/std/time/month_weekday/io.cc: Likewise.
* testsuite/std/time/month_weekday_last/io.cc: Likewise.
* testsuite/std/time/weekday/io.cc: Likewise.
* testsuite/std/time/weekday_indexed/io.cc: Likewise.
* testsuite/std/time/weekday_last/io.cc: Likewise.
* testsuite/std/time/year/io.cc: Likewise.
* testsuite/std/time/year_month/io.cc: Likewise.
* testsuite/std/time/year_month_day/io.cc: Likewise.
* testsuite/std/time/year_month_day_last/io.cc: Likewise.
* testsuite/std/time/year_month_weekday/io.cc: Likewise.
* testsuite/std/time/year_month_weekday_last/io.cc: Likewise.
* testsuite/std/time/zoned_time/io.cc: Likewise.

19 files changed:
libstdc++-v3/testsuite/20_util/duration/io.cc
libstdc++-v3/testsuite/std/time/day/io.cc
libstdc++-v3/testsuite/std/time/format.cc
libstdc++-v3/testsuite/std/time/hh_mm_ss/io.cc
libstdc++-v3/testsuite/std/time/month/io.cc
libstdc++-v3/testsuite/std/time/month_day/io.cc
libstdc++-v3/testsuite/std/time/month_day_last/io.cc
libstdc++-v3/testsuite/std/time/month_weekday/io.cc
libstdc++-v3/testsuite/std/time/month_weekday_last/io.cc
libstdc++-v3/testsuite/std/time/weekday/io.cc
libstdc++-v3/testsuite/std/time/weekday_indexed/io.cc
libstdc++-v3/testsuite/std/time/weekday_last/io.cc
libstdc++-v3/testsuite/std/time/year/io.cc
libstdc++-v3/testsuite/std/time/year_month/io.cc
libstdc++-v3/testsuite/std/time/year_month_day/io.cc
libstdc++-v3/testsuite/std/time/year_month_day_last/io.cc
libstdc++-v3/testsuite/std/time/year_month_weekday/io.cc
libstdc++-v3/testsuite/std/time/year_month_weekday_last/io.cc
libstdc++-v3/testsuite/std/time/zoned_time/io.cc

index a652a34e52f2670ab346973e6d8762bbedcae564..d2b9de73f83adbd9a553fdf88390d70775860dcf 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do run { target c++20 } }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index cf5cd3439c4c8fe25bfd1681b1b40188696c3f2d..3454657f69fc11c7ef99fda2a9ab0c50c9574952 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index 97035e2cdd4ecc8a287afdb355ea01015cfcfc15..d6e35832cb5f44da2fcce8de7e5ee340936abdc4 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do run { target c++20 } }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <testsuite_hooks.h>
index e431f0cf918688830541ca41d057d25a4d6cd050..8eb80422e6e8fb221f874f706e719f55a6e41daa 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do run { target c++20 } }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index fb1c6425f4c4ec54def0778d1dc131aecc73e157..7e80a53bbb6adb83462197bdc7e28bc6bf08f386 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index 4dafbb212f61cda3eda51ab0d8c9a84cec599d94..30aa5881356086040c6f744471c7238f2565495e 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index 4f430d4e3e32cb93df6e970d2d7ae2098c7a7e9e..c12cee848ed5fa11d49a5421e7c9337d92a4caa3 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index ee841eb1ef19e68a49256c9bd0bb974224ff6184..82cac648905a8197a9c555ad2e2af639aea638be 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index 96a9ad9bd62e83b5c212462962f3c506c337c470..47968d0e06d9686012e49f33a61a6f65bd11984f 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index 6f6a03774fabbb7267bfc8fcce4c641c24555f80..5ed90282f957b3913e6d1828b568b8f65cf0723f 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index 530138ea839fe36c92726226b4d8df8accb406b7..29255ad5c063024454c73ebcfb7217c39c0044fa 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index de88ad2054011fca006611429056728270632136..6f76922195d2eb1d957a65d66a49fe41f6c4702c 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index f26162d94cf293c2266425d0a4a98c763de0f10e..6157afae2533d57f2ec5e4f7e603371339f67547 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index 1b58a9e24682272fa20681975232ed129a558c5a..7bb3442e2990fe69c4414b79c1833b6de553f9f9 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index 636b30592c8c084874f4ac478bc56f783eda99c6..15c5a9f77be6ffb89665b2c357ddc32a58e7867f 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index 0dcc1df9fb7d2d4c319809c3d2cf17fd31bc0f7f..3241536a2e64eb72eff0445b8f54bc9508e16c81 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index 77fec80cca66eae054f221db7440a4cbabba9a81..65baf1d37ae360a6deb8217cef94bba274531889 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index 386f86875b3cc30ec0df19f767bbb13c8de1c034..17f2244420d723d20058b38f178d751862c20dfa 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index 6f3ed4d4672fa2328a239d0f030338b0a3b34ceb..376b2734f1922b95b50e9271dfa19e23f4289c18 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do run { target c++20 } }
 // { dg-require-effective-target cxx11_abi }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>