public inbox for libstdc++-cvs@sourceware.org help / color / mirror / Atom feed
From: Jonathan Wakely <redi@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r14-4959] libstdc++: Add dg-timeout-factor to <chrono> IO tests Date: Thu, 26 Oct 2023 20:11:03 +0000 (GMT) [thread overview] Message-ID: <20231026201103.2E5203858C36@sourceware.org> (raw) https://gcc.gnu.org/g:7d06b29f8145805f33a33fb54a7d69acf31cecd6 commit r14-4959-g7d06b29f8145805f33a33fb54a7d69acf31cecd6 Author: Jonathan Wakely <jwakely@redhat.com> Date: Tue Oct 24 21:50:17 2023 +0100 libstdc++: Add dg-timeout-factor to <chrono> IO tests 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. Diff: --- 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(+) diff --git a/libstdc++-v3/testsuite/20_util/duration/io.cc b/libstdc++-v3/testsuite/20_util/duration/io.cc index a652a34e52f2..d2b9de73f83a 100644 --- a/libstdc++-v3/testsuite/20_util/duration/io.cc +++ b/libstdc++-v3/testsuite/20_util/duration/io.cc @@ -1,4 +1,5 @@ // { dg-do run { target c++20 } } +// { dg-timeout-factor 2 } #include <chrono> #include <sstream> diff --git a/libstdc++-v3/testsuite/std/time/day/io.cc b/libstdc++-v3/testsuite/std/time/day/io.cc index cf5cd3439c4c..3454657f69fc 100644 --- a/libstdc++-v3/testsuite/std/time/day/io.cc +++ b/libstdc++-v3/testsuite/std/time/day/io.cc @@ -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> diff --git a/libstdc++-v3/testsuite/std/time/format.cc b/libstdc++-v3/testsuite/std/time/format.cc index 97035e2cdd4e..d6e35832cb5f 100644 --- a/libstdc++-v3/testsuite/std/time/format.cc +++ b/libstdc++-v3/testsuite/std/time/format.cc @@ -1,4 +1,5 @@ // { dg-do run { target c++20 } } +// { dg-timeout-factor 2 } #include <chrono> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/std/time/hh_mm_ss/io.cc b/libstdc++-v3/testsuite/std/time/hh_mm_ss/io.cc index e431f0cf9186..8eb80422e6e8 100644 --- a/libstdc++-v3/testsuite/std/time/hh_mm_ss/io.cc +++ b/libstdc++-v3/testsuite/std/time/hh_mm_ss/io.cc @@ -1,4 +1,5 @@ // { dg-do run { target c++20 } } +// { dg-timeout-factor 2 } #include <chrono> #include <sstream> diff --git a/libstdc++-v3/testsuite/std/time/month/io.cc b/libstdc++-v3/testsuite/std/time/month/io.cc index fb1c6425f4c4..7e80a53bbb6a 100644 --- a/libstdc++-v3/testsuite/std/time/month/io.cc +++ b/libstdc++-v3/testsuite/std/time/month/io.cc @@ -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> diff --git a/libstdc++-v3/testsuite/std/time/month_day/io.cc b/libstdc++-v3/testsuite/std/time/month_day/io.cc index 4dafbb212f61..30aa58813560 100644 --- a/libstdc++-v3/testsuite/std/time/month_day/io.cc +++ b/libstdc++-v3/testsuite/std/time/month_day/io.cc @@ -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> diff --git a/libstdc++-v3/testsuite/std/time/month_day_last/io.cc b/libstdc++-v3/testsuite/std/time/month_day_last/io.cc index 4f430d4e3e32..c12cee848ed5 100644 --- a/libstdc++-v3/testsuite/std/time/month_day_last/io.cc +++ b/libstdc++-v3/testsuite/std/time/month_day_last/io.cc @@ -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> diff --git a/libstdc++-v3/testsuite/std/time/month_weekday/io.cc b/libstdc++-v3/testsuite/std/time/month_weekday/io.cc index ee841eb1ef19..82cac648905a 100644 --- a/libstdc++-v3/testsuite/std/time/month_weekday/io.cc +++ b/libstdc++-v3/testsuite/std/time/month_weekday/io.cc @@ -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> diff --git a/libstdc++-v3/testsuite/std/time/month_weekday_last/io.cc b/libstdc++-v3/testsuite/std/time/month_weekday_last/io.cc index 96a9ad9bd62e..47968d0e06d9 100644 --- a/libstdc++-v3/testsuite/std/time/month_weekday_last/io.cc +++ b/libstdc++-v3/testsuite/std/time/month_weekday_last/io.cc @@ -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> diff --git a/libstdc++-v3/testsuite/std/time/weekday/io.cc b/libstdc++-v3/testsuite/std/time/weekday/io.cc index 6f6a03774fab..5ed90282f957 100644 --- a/libstdc++-v3/testsuite/std/time/weekday/io.cc +++ b/libstdc++-v3/testsuite/std/time/weekday/io.cc @@ -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> diff --git a/libstdc++-v3/testsuite/std/time/weekday_indexed/io.cc b/libstdc++-v3/testsuite/std/time/weekday_indexed/io.cc index 530138ea839f..29255ad5c063 100644 --- a/libstdc++-v3/testsuite/std/time/weekday_indexed/io.cc +++ b/libstdc++-v3/testsuite/std/time/weekday_indexed/io.cc @@ -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> diff --git a/libstdc++-v3/testsuite/std/time/weekday_last/io.cc b/libstdc++-v3/testsuite/std/time/weekday_last/io.cc index de88ad205401..6f76922195d2 100644 --- a/libstdc++-v3/testsuite/std/time/weekday_last/io.cc +++ b/libstdc++-v3/testsuite/std/time/weekday_last/io.cc @@ -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> diff --git a/libstdc++-v3/testsuite/std/time/year/io.cc b/libstdc++-v3/testsuite/std/time/year/io.cc index f26162d94cf2..6157afae2533 100644 --- a/libstdc++-v3/testsuite/std/time/year/io.cc +++ b/libstdc++-v3/testsuite/std/time/year/io.cc @@ -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> diff --git a/libstdc++-v3/testsuite/std/time/year_month/io.cc b/libstdc++-v3/testsuite/std/time/year_month/io.cc index 1b58a9e24682..7bb3442e2990 100644 --- a/libstdc++-v3/testsuite/std/time/year_month/io.cc +++ b/libstdc++-v3/testsuite/std/time/year_month/io.cc @@ -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> diff --git a/libstdc++-v3/testsuite/std/time/year_month_day/io.cc b/libstdc++-v3/testsuite/std/time/year_month_day/io.cc index 636b30592c8c..15c5a9f77be6 100644 --- a/libstdc++-v3/testsuite/std/time/year_month_day/io.cc +++ b/libstdc++-v3/testsuite/std/time/year_month_day/io.cc @@ -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> diff --git a/libstdc++-v3/testsuite/std/time/year_month_day_last/io.cc b/libstdc++-v3/testsuite/std/time/year_month_day_last/io.cc index 0dcc1df9fb7d..3241536a2e64 100644 --- a/libstdc++-v3/testsuite/std/time/year_month_day_last/io.cc +++ b/libstdc++-v3/testsuite/std/time/year_month_day_last/io.cc @@ -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> diff --git a/libstdc++-v3/testsuite/std/time/year_month_weekday/io.cc b/libstdc++-v3/testsuite/std/time/year_month_weekday/io.cc index 77fec80cca66..65baf1d37ae3 100644 --- a/libstdc++-v3/testsuite/std/time/year_month_weekday/io.cc +++ b/libstdc++-v3/testsuite/std/time/year_month_weekday/io.cc @@ -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> diff --git a/libstdc++-v3/testsuite/std/time/year_month_weekday_last/io.cc b/libstdc++-v3/testsuite/std/time/year_month_weekday_last/io.cc index 386f86875b3c..17f2244420d7 100644 --- a/libstdc++-v3/testsuite/std/time/year_month_weekday_last/io.cc +++ b/libstdc++-v3/testsuite/std/time/year_month_weekday_last/io.cc @@ -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> diff --git a/libstdc++-v3/testsuite/std/time/zoned_time/io.cc b/libstdc++-v3/testsuite/std/time/zoned_time/io.cc index 6f3ed4d4672f..376b2734f192 100644 --- a/libstdc++-v3/testsuite/std/time/zoned_time/io.cc +++ b/libstdc++-v3/testsuite/std/time/zoned_time/io.cc @@ -1,5 +1,6 @@ // { dg-do run { target c++20 } } // { dg-require-effective-target cxx11_abi } +// { dg-timeout-factor 2 } #include <chrono> #include <sstream>
reply other threads:[~2023-10-26 20:11 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20231026201103.2E5203858C36@sourceware.org \ --to=redi@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ --cc=libstdc++-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).