libstdc++ testsuite: Don't run lwg3464.cc tests on simulators
authorHans-Peter Nilsson <hp@axis.com>
Sun, 30 Jan 2022 01:01:12 +0000 (02:01 +0100)
committerHans-Peter Nilsson <hp@axis.com>
Sun, 30 Jan 2022 16:51:02 +0000 (17:51 +0100)
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.

libstdc++-v3/testsuite/27_io/basic_istream/get/char/lwg3464.cc
libstdc++-v3/testsuite/27_io/basic_istream/get/wchar_t/lwg3464.cc

index f426ff7..5d4de3d 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-do run { target { ! lp64 } } }
+// { dg-do run { target { { ! lp64 } && { ! simulator } } } }
 // { dg-timeout-factor 2 }
 
 #include <istream>
index 4be6beb..e2349df 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-do run { target { ! lp64 } } }
+// { dg-do run { target { { ! lp64 } && { ! simulator } } } }
 // { dg-timeout-factor 2 }
 
 #include <istream>