Skip to content

Commit 5a661ec

Browse files
committed
libstdc++: Add GLIBCXX_TESTSUITE_STDS example to docs
libstdc++-v3/ChangeLog: * doc/xml/manual/test.xml: Add GLIBCXX_TESTSUITE_STDS example. * doc/html/manual/test.html: Regenerate.
1 parent f565063 commit 5a661ec

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

libstdc++-v3/doc/html/manual/test.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -352,12 +352,13 @@
352352
Since GCC 14, the libstdc++ testsuite has built-in support for running
353353
tests with more than one <code class="option">-std</code>, similar to the G++ tests.
354354
Adding <code class="code">set v3_std_list { 11 17 23 }</code> to
355-
<code class="filename">~/.dejagnurc</code> or a file named by the
355+
<code class="filename">~/.dejagnurc</code> or to a file named by the
356356
<code class="envar">DEJAGNU</code> environment variable will cause every test to
357357
be run three times, using a different <code class="option">-std</code> each time.
358358
Alternatively, a list of standard versions to test with can be specified
359359
as a comma-separated list in the <code class="envar">GLIBCXX_TESTSUITE_STDS</code>
360-
environment variable.
360+
environment variable, e.g. <code class="envar">GLIBCXX_TESTSUITE_STDS=11,17,23</code>
361+
is equivalent to the <code class="code">v3_std_list</code> value above.
361362
</p><p>
362363
To run the libstdc++ test suite under the
363364
<a class="link" href="debug_mode.html" title="Chapter 17. Debug Mode">debug mode</a>, use

libstdc++-v3/doc/xml/manual/test.xml

+3-2
Original file line numberDiff line numberDiff line change
@@ -600,12 +600,13 @@ cat 27_io/objects/char/3_xin.in | a.out</programlisting>
600600
Since GCC 14, the libstdc++ testsuite has built-in support for running
601601
tests with more than one <option>-std</option>, similar to the G++ tests.
602602
Adding <code>set v3_std_list { 11 17 23 }</code> to
603-
<filename>~/.dejagnurc</filename> or a file named by the
603+
<filename>~/.dejagnurc</filename> or to a file named by the
604604
<envar>DEJAGNU</envar> environment variable will cause every test to
605605
be run three times, using a different <option>-std</option> each time.
606606
Alternatively, a list of standard versions to test with can be specified
607607
as a comma-separated list in the <envar>GLIBCXX_TESTSUITE_STDS</envar>
608-
environment variable.
608+
environment variable, e.g. <envar>GLIBCXX_TESTSUITE_STDS=11,17,23</envar>
609+
is equivalent to the <code>v3_std_list</code> value above.
609610
</para>
610611

611612
<para>

0 commit comments

Comments
 (0)