public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-1690] testsuite: Cut down 27_io/basic_istream/.../94749.cc for simulators
@ 2023-06-10 21:54 Hans-Peter Nilsson
0 siblings, 0 replies; only message in thread
From: Hans-Peter Nilsson @ 2023-06-10 21:54 UTC (permalink / raw)
To: gcc-cvs, libstdc++-cvs
https://gcc.gnu.org/g:273a33b285b426be4e4b7213ecc090d088f9cd69
commit r14-1690-g273a33b285b426be4e4b7213ecc090d088f9cd69
Author: Hans-Peter Nilsson <hp@axis.com>
Date: Sat Jun 10 05:51:00 2023 +0200
testsuite: Cut down 27_io/basic_istream/.../94749.cc for simulators
The test wchar_t/94749.cc can take about 10 minutes on some
simulator/host combinations with char/94749.cc at a third of
that time. The cause is test05 which is quite heavy and
includes wrapping a 32-bit counter. Run it only for native
setups.
* testsuite/27_io/basic_istream/ignore/wchar_t/94749.cc (main)
[! SIMULATOR_TEST]: Also exclude running test05.
* testsuite/27_io/basic_istream/ignore/char/94749.cc: Ditto.
Diff:
---
libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/94749.cc | 2 +-
libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/94749.cc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/94749.cc b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/94749.cc
index 6416863983b..9160995c05e 100644
--- a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/94749.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/94749.cc
@@ -221,8 +221,8 @@ main()
test02();
test03();
test04();
- test05();
#ifndef SIMULATOR_TEST
+ test05();
test06();
#endif
}
diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/94749.cc b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/94749.cc
index 65e0a326c10..a5b9eb71a38 100644
--- a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/94749.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/94749.cc
@@ -221,8 +221,8 @@ main()
test02();
test03();
test04();
- test05();
#ifndef SIMULATOR_TEST
+ test05();
test06();
#endif
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-06-10 21:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-10 21:54 [gcc r14-1690] testsuite: Cut down 27_io/basic_istream/.../94749.cc for simulators Hans-Peter Nilsson
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).