From: Hans-Peter Nilsson Date: Sun, 30 Jan 2022 01:01:12 +0000 (+0100) Subject: libstdc++ testsuite: Don't run lwg3464.cc tests on simulators X-Git-Tag: basepoints/gcc-13~1379 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=baf98320ac6cd56da0c0b460fb94e3b87a79220d;p=thirdparty%2Fgcc.git libstdc++ testsuite: Don't run lwg3464.cc tests on simulators These tests have always been failing for my autotester running a cris-elf simulator; when unrestrained they take about 20 minutes each, compared to the (doubled) timeout of 720 seconds, of a total 2h40min for the whole of the libstdc++-v3 testsuite. The tests cover counter overflow and are already disabled for LP64 targets. * testsuite/27_io/basic_istream/get/char/lwg3464.cc: Don't run on simulator targets. * testsuite/27_io/basic_istream/get/wchar_t/lwg3464.cc: Likewise. --- diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/get/char/lwg3464.cc b/libstdc++-v3/testsuite/27_io/basic_istream/get/char/lwg3464.cc index f426ff7dd867..5d4de3d6cb54 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/get/char/lwg3464.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/get/char/lwg3464.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do run { target { ! lp64 } } } +// { dg-do run { target { { ! lp64 } && { ! simulator } } } } // { dg-timeout-factor 2 } #include diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/get/wchar_t/lwg3464.cc b/libstdc++-v3/testsuite/27_io/basic_istream/get/wchar_t/lwg3464.cc index 4be6beb2310f..e2349df8c7d6 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/get/wchar_t/lwg3464.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/get/wchar_t/lwg3464.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do run { target { ! lp64 } } } +// { dg-do run { target { { ! lp64 } && { ! simulator } } } } // { dg-timeout-factor 2 } #include