From: Jonathan Wakely -std
, similar to the G++ tests.
Adding set v3_std_list { 11 17 23 }
to
- ~/.dejagnurc
or a file named by the
+ ~/.dejagnurc
or to a file named by the
DEJAGNU
environment variable will cause every test to
be run three times, using a different -std
each time.
Alternatively, a list of standard versions to test with can be specified
as a comma-separated list in the GLIBCXX_TESTSUITE_STDS
- environment variable.
+ environment variable, e.g. GLIBCXX_TESTSUITE_STDS=11,17,23
+ is equivalent to the v3_std_list
value above.
To run the libstdc++ test suite under the
debug mode, use
diff --git a/libstdc++-v3/doc/xml/manual/test.xml b/libstdc++-v3/doc/xml/manual/test.xml
index 40926946fe7a..6b7f1b04a2ac 100644
--- a/libstdc++-v3/doc/xml/manual/test.xml
+++ b/libstdc++-v3/doc/xml/manual/test.xml
@@ -600,12 +600,13 @@ cat 27_io/objects/char/3_xin.in | a.out
Since GCC 14, the libstdc++ testsuite has built-in support for running
tests with more than one , similar to the G++ tests.
Adding set v3_std_list { 11 17 23 }
to
- v3_std_list
value above.