diff --git a/libstdc++-v3/doc/html/manual/test.html b/libstdc++-v3/doc/html/manual/test.html index 947cd948d830..f2cf8c424370 100644 --- a/libstdc++-v3/doc/html/manual/test.html +++ b/libstdc++-v3/doc/html/manual/test.html @@ -338,16 +338,6 @@ cat 27_io/objects/char/3_xin.in | a.out
-O1 -D_GLIBCXX_ASSERTIONS you could use:

    make check RUNTESTFLAGS=--target_board=unix/-O1/-D_GLIBCXX_ASSERTIONS

-

- The --target_board option can also be used to run the - tests multiple times in different variations. For example, to run the - entire testsuite three times using -O3 but with - different -std options: -

    make check 'RUNTESTFLAGS=--target_board=unix/-O3\"{-std=gnu++98,-std=gnu++11,-std=gnu++17}\"'

- N.B. that set of variations could also be written as - unix/-O3\"{-std=gnu++98,-std=gnu++11,}\" so that - the third variation would use the default for -std - (which is -std=gnu++17 as of GCC 11).

Since GCC 14, the libstdc++ testsuite has built-in support for running tests with more than one -std, similar to the G++ tests. @@ -359,6 +349,9 @@ cat 27_io/objects/char/3_xin.in | a.out

GLIBCXX_TESTSUITE_STDS environment variable, e.g. GLIBCXX_TESTSUITE_STDS=11,17,23 is equivalent to the v3_std_list value above. + Before GCC 14, the --target_board option could be + used to run the tests with different -std options, + but this no longer works.

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 c4f501102dc7..8e2729eedfdf 100644 --- a/libstdc++-v3/doc/xml/manual/test.xml +++ b/libstdc++-v3/doc/xml/manual/test.xml @@ -584,18 +584,6 @@ cat 27_io/objects/char/3_xin.in | a.out make check RUNTESTFLAGS=--target_board=unix/-O1/-D_GLIBCXX_ASSERTIONS - - The option can also be used to run the - tests multiple times in different variations. For example, to run the - entire testsuite three times using but with - different options: - make check 'RUNTESTFLAGS=--target_board=unix/-O3\"{-std=gnu++98,-std=gnu++11,-std=gnu++17}\"' - N.B. that set of variations could also be written as - unix/-O3\"{-std=gnu++98,-std=gnu++11,}\" so that - the third variation would use the default for - (which is as of GCC 11). - - Since GCC 14, the libstdc++ testsuite has built-in support for running tests with more than one , similar to the G++ tests. @@ -607,6 +595,9 @@ cat 27_io/objects/char/3_xin.in | a.out as a comma-separated list in the GLIBCXX_TESTSUITE_STDS environment variable, e.g. GLIBCXX_TESTSUITE_STDS=11,17,23 is equivalent to the v3_std_list value above. + Before GCC 14, the option could be + used to run the tests with different options, + but this no longer works.