[committed] libstdc++: Add dg-timeout-factor to <chrono> IO tests
Checks
Commit Message
Tested x86_64-linux. Pushed to trunk. Worth backporting to gcc-13 too.
-- >8 --
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.
---
libstdc++-v3/testsuite/20_util/duration/io.cc | 1 +
libstdc++-v3/testsuite/std/time/day/io.cc | 1 +
libstdc++-v3/testsuite/std/time/format.cc | 1 +
libstdc++-v3/testsuite/std/time/hh_mm_ss/io.cc | 1 +
libstdc++-v3/testsuite/std/time/month/io.cc | 1 +
libstdc++-v3/testsuite/std/time/month_day/io.cc | 1 +
libstdc++-v3/testsuite/std/time/month_day_last/io.cc | 1 +
libstdc++-v3/testsuite/std/time/month_weekday/io.cc | 1 +
libstdc++-v3/testsuite/std/time/month_weekday_last/io.cc | 1 +
libstdc++-v3/testsuite/std/time/weekday/io.cc | 1 +
libstdc++-v3/testsuite/std/time/weekday_indexed/io.cc | 1 +
libstdc++-v3/testsuite/std/time/weekday_last/io.cc | 1 +
libstdc++-v3/testsuite/std/time/year/io.cc | 1 +
libstdc++-v3/testsuite/std/time/year_month/io.cc | 1 +
libstdc++-v3/testsuite/std/time/year_month_day/io.cc | 1 +
libstdc++-v3/testsuite/std/time/year_month_day_last/io.cc | 1 +
libstdc++-v3/testsuite/std/time/year_month_weekday/io.cc | 1 +
libstdc++-v3/testsuite/std/time/year_month_weekday_last/io.cc | 1 +
libstdc++-v3/testsuite/std/time/zoned_time/io.cc | 1 +
19 files changed, 19 insertions(+)
@@ -1,4 +1,5 @@
// { dg-do run { target c++20 } }
+// { dg-timeout-factor 2 }
#include <chrono>
#include <sstream>
@@ -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>
@@ -1,4 +1,5 @@
// { dg-do run { target c++20 } }
+// { dg-timeout-factor 2 }
#include <chrono>
#include <testsuite_hooks.h>
@@ -1,4 +1,5 @@
// { dg-do run { target c++20 } }
+// { dg-timeout-factor 2 }
#include <chrono>
#include <sstream>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -1,5 +1,6 @@
// { dg-do run { target c++20 } }
// { dg-require-effective-target cxx11_abi }
+// { dg-timeout-factor 2 }
#include <chrono>
#include <sstream>