diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-02-16 10:38:29 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2024-02-16 10:44:15 +0000 |
commit | 1c05d4e985370d36ec729480b017345c9264be3e (patch) | |
tree | 7144a869fc8ed0d3e60ce1b89237382dacd1082b | |
parent | 325d5dd53270fe8fd62b36c92c8f8b87c2938bf1 (diff) | |
download | gcc-1c05d4e985370d36ec729480b017345c9264be3e.zip gcc-1c05d4e985370d36ec729480b017345c9264be3e.tar.gz gcc-1c05d4e985370d36ec729480b017345c9264be3e.tar.bz2 |
libstdc++: Fix spelling of <envar> elements in manual
libstdc++-v3/ChangeLog:
* doc/xml/manual/test.xml: Fix spelling of <envar> elements.
* doc/html/manual/test.html: Regenerate.
-rw-r--r-- | libstdc++-v3/doc/html/manual/test.html | 4 | ||||
-rw-r--r-- | 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 4b7f60c..3657997 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</pre></dd><dt><span class="term"><code c <code class="envar">DEJAGNU</code> environment variable will cause every test to be run three times, using a different <code class="option">-std</code> each time. Alternatively, a list of standard versions to test with can be specified - as a comma-separated list in the <span style="color: red"><envvar>GLIBCXX_TESTSUITE_STDS</envvar></span> + as a comma-separated list in the <code class="envar">GLIBCXX_TESTSUITE_STDS</code> environment variable. </p><p> To run the libstdc++ test suite under the @@ -478,7 +478,7 @@ cat 27_io/objects/char/3_xin.in | a.out</pre></dd><dt><span class="term"><code c the test will be skipped by default unless <code class="option">-std=gnu++11</code> or <code class="option">-std=c++11</code> is explicitly specified, either via a target board, the <code class="varname">v3_std_list</code> dejagnu variable, - or the <span style="color: red"><envvar>GLIBCXX_TESTSUITE_STDS</envvar></span> environment variable. + or the <code class="envar">GLIBCXX_TESTSUITE_STDS</code> environment variable. For tests that require a specific standard it is useful to also add a <code class="literal">dg-options</code> directive: </p><pre class="programlisting"> // { dg-options "-std=gnu++11" }</pre><p> diff --git a/libstdc++-v3/doc/xml/manual/test.xml b/libstdc++-v3/doc/xml/manual/test.xml index f2c709b..4092694 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</programlisting> <envar>DEJAGNU</envar> environment variable will cause every test to be run three times, using a different <option>-std</option> 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 <envar>GLIBCXX_TESTSUITE_STDS</envar> environment variable. </para> @@ -779,7 +779,7 @@ cat 27_io/objects/char/3_xin.in | a.out</programlisting> the test will be skipped by default unless <option>-std=gnu++11</option> or <option>-std=c++11</option> is explicitly specified, either via a target board, the <varname>v3_std_list</varname> dejagnu variable, - or the <envvar>GLIBCXX_TESTSUITE_STDS</envvar> environment variable. + or the <envar>GLIBCXX_TESTSUITE_STDS</envar> environment variable. For tests that require a specific standard it is useful to also add a <literal>dg-options</literal> directive: <programlisting> // { dg-options "-std=gnu++11" }</programlisting> |