]> 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>
Wed, 8 Nov 2023 13:16:28 +0000 (13:16 +0000)
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.

(cherry picked from commit 7d06b29f8145805f33a33fb54a7d69acf31cecd6)

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 ea94b062d9697f05abef7b050e606799c89d8101..034167c61925ff428259a558ff702fea9f88da6f 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-options "-std=gnu++20" }
 // { dg-do run { target c++20 } }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index 6158230f28841955a75737ad47588be8fc233927..b6da0701f98ac4a3fdd1763a29169c53879ef46b 100644 (file)
@@ -1,6 +1,7 @@
 // { dg-options "-std=gnu++20" }
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index 0dc45d58dcee74d0eb2491fd2b7ec91b09d2b8e0..e1b3702522cb72ea303e4d9a2aa6c776e565af04 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-options "-std=gnu++20" }
 // { dg-do run { target c++20 } }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <testsuite_hooks.h>
index ddb1ad77d1ea159187ea2f52ea38b159d76a1c67..4f92e2e6497221288fcb94fdbb1cf741d8b11070 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-options "-std=gnu++20" }
 // { dg-do run { target c++20 } }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index 7ceeafd725a88496fe6d1c0121a9d90876787b3d..59c303bb96cc8ccd48357d7ce4d0df21c0d00551 100644 (file)
@@ -1,6 +1,7 @@
 // { dg-options "-std=gnu++20" }
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index 454231dd72430eab6eb16914541de54088ecc757..37bcf51e079a2e16ef03aa87dd03c1b454d1c2bb 100644 (file)
@@ -1,6 +1,7 @@
 // { dg-options "-std=gnu++20" }
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index 6bd95d9d524c491eea8fec75cac716e1090fc009..4f853f77b6c676e6337e58e6117ff779c139f032 100644 (file)
@@ -1,6 +1,7 @@
 // { dg-options "-std=gnu++20" }
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index a62f84a16aa4941709ab5dd165c9c69a8f8239ea..8e979838fcea7d0177a83c804ff896dfbb9d5b7e 100644 (file)
@@ -1,6 +1,7 @@
 // { dg-options "-std=gnu++20" }
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index f69cc187ce8134204228bd17f83511d4af061032..00617f6bf711e935a97e43c5f8bad3a281a78e6d 100644 (file)
@@ -1,6 +1,7 @@
 // { dg-options "-std=gnu++20" }
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index 6cdb98467b13761755ad863448c1ec6b44fd6589..ab213fb559ae8dd265bf3b97fd25bd9c34b792ee 100644 (file)
@@ -1,6 +1,7 @@
 // { dg-options "-std=gnu++20" }
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index cdb91f4ba1131c5ae35e38e8690ffcf229a8940c..95c344ee7030f59be7e2eaf64d9ea073f70638af 100644 (file)
@@ -1,6 +1,7 @@
 // { dg-options "-std=gnu++20" }
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index b81830f8f68fa91e4eb0626f53abd0c8c318c8b5..632225753cd3728f556bcce66e1454558c683eed 100644 (file)
@@ -1,6 +1,7 @@
 // { dg-options "-std=gnu++20" }
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index 07316e98aa527a58d2917e9db4e17cf32228e101..89ab7b1e61e16b46ad6a5fcaf201c9fdb831187f 100644 (file)
@@ -1,6 +1,7 @@
 // { dg-options "-std=gnu++20" }
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index 8c0eb9b657948343f92aa58cf9018581c3fe2e2a..d502316adb42c47320f7d8ff41e98c67426ecfe0 100644 (file)
@@ -1,6 +1,7 @@
 // { dg-options "-std=gnu++20" }
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index 688885b37a1ddcda9cc75531fa9a46701116c626..967b4a724062a0eb6b56c7dab99a10331deb4ba9 100644 (file)
@@ -1,6 +1,7 @@
 // { dg-options "-std=gnu++20" }
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index cb60f078c7e29e1e4890646819d8ec81aa2deb34..f6c2d02d1ad4e40d720dae6712da24e8ded07a18 100644 (file)
@@ -1,6 +1,7 @@
 // { dg-options "-std=gnu++20" }
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index 530429ff1297433723696bed83dd5824694b2952..0d3f12e385f7f90abc9181e053e7340a6361cd50 100644 (file)
@@ -1,6 +1,7 @@
 // { dg-options "-std=gnu++20" }
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index f6aff52f7eb8bceb7763cc0b907d377c6bf31165..36c24cdd2caf0647ddcbf982de37e99b995cc560 100644 (file)
@@ -1,6 +1,7 @@
 // { dg-options "-std=gnu++20" }
 // { dg-do run { target c++20 } }
 // { dg-require-namedlocale "fr_FR.ISO8859-15" }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>
index ad85122e85d4de203508028f12a3c2242877d6c3..31a64b0e44cd33c67bdd57ac56c5ca012e833054 100644 (file)
@@ -1,6 +1,7 @@
 // { dg-options "-std=gnu++20" }
 // { dg-do run { target c++20 } }
 // { dg-require-effective-target cxx11_abi }
+// { dg-timeout-factor 2 }
 
 #include <chrono>
 #include <sstream>