From 1c05d4e985370d36ec729480b017345c9264be3e Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Fri, 16 Feb 2024 10:38:29 +0000 Subject: [PATCH] libstdc++: Fix spelling of elements in manual libstdc++-v3/ChangeLog: * doc/xml/manual/test.xml: Fix spelling of elements. * doc/html/manual/test.html: Regenerate. --- libstdc++-v3/doc/html/manual/test.html | 4 ++-- libstdc++-v3/doc/xml/manual/test.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libstdc++-v3/doc/html/manual/test.html b/libstdc++-v3/doc/html/manual/test.html index 4b7f60c9bade..3657997fad46 100644 --- a/libstdc++-v3/doc/html/manual/test.html +++ b/libstdc++-v3/doc/html/manual/test.html @@ -356,7 +356,7 @@ cat 27_io/objects/char/3_xin.in | a.out
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 <envvar>GLIBCXX_TESTSUITE_STDS</envvar> + as a comma-separated list in the GLIBCXX_TESTSUITE_STDS environment variable.

To run the libstdc++ test suite under the @@ -478,7 +478,7 @@ cat 27_io/objects/char/3_xin.in | a.out

-std=gnu++11 or -std=c++11 is explicitly specified, either via a target board, the v3_std_list dejagnu variable, - or the <envvar>GLIBCXX_TESTSUITE_STDS</envvar> environment variable. + or the GLIBCXX_TESTSUITE_STDS environment variable. For tests that require a specific standard it is useful to also add a dg-options directive:

    // { dg-options "-std=gnu++11" }

diff --git a/libstdc++-v3/doc/xml/manual/test.xml b/libstdc++-v3/doc/xml/manual/test.xml index f2c709bc6bf1..40926946fe7a 100644 --- a/libstdc++-v3/doc/xml/manual/test.xml +++ b/libstdc++-v3/doc/xml/manual/test.xml @@ -604,7 +604,7 @@ cat 27_io/objects/char/3_xin.in | a.out DEJAGNU environment variable will cause every test to be run three times, using a different each time. Alternatively, a list of standard versions to test with can be specified - as a comma-separated list in the GLIBCXX_TESTSUITE_STDS + as a comma-separated list in the GLIBCXX_TESTSUITE_STDS environment variable. @@ -779,7 +779,7 @@ cat 27_io/objects/char/3_xin.in | a.out the test will be skipped by default unless or is explicitly specified, either via a target board, the v3_std_list dejagnu variable, - or the GLIBCXX_TESTSUITE_STDS environment variable. + or the GLIBCXX_TESTSUITE_STDS environment variable. For tests that require a specific standard it is useful to also add a dg-options directive: // { dg-options "-std=gnu++11" } -- 2.47.2