aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-10-22 21:18:51 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2024-10-23 15:59:55 +0100
commit5a661ecdfb22dd6fd1524ee8619be4bc046a1b2a (patch)
tree3a939bc781c145dd4b908cb8932ecf355e7e2ec3
parentf565063a0602ad3b48ac687f575dea7a90cd4105 (diff)
downloadgcc-5a661ecdfb22dd6fd1524ee8619be4bc046a1b2a.zip
gcc-5a661ecdfb22dd6fd1524ee8619be4bc046a1b2a.tar.gz
gcc-5a661ecdfb22dd6fd1524ee8619be4bc046a1b2a.tar.bz2
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.
-rw-r--r--libstdc++-v3/doc/html/manual/test.html5
-rw-r--r--libstdc++-v3/doc/xml/manual/test.xml5
2 files changed, 6 insertions, 4 deletions
diff --git a/libstdc++-v3/doc/html/manual/test.html b/libstdc++-v3/doc/html/manual/test.html
index 3657997..1c7af11 100644
--- a/libstdc++-v3/doc/html/manual/test.html
+++ b/libstdc++-v3/doc/html/manual/test.html
@@ -352,12 +352,13 @@ cat 27_io/objects/char/3_xin.in | a.out</pre></dd><dt><span class="term"><code c
Since GCC 14, the libstdc++ testsuite has built-in support for running
tests with more than one <code class="option">-std</code>, similar to the G++ tests.
Adding <code class="code">set v3_std_list { 11 17 23 }</code> to
- <code class="filename">~/.dejagnurc</code> or a file named by the
+ <code class="filename">~/.dejagnurc</code> or to a file named by the
<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 <code class="envar">GLIBCXX_TESTSUITE_STDS</code>
- environment variable.
+ environment variable, e.g. <code class="envar">GLIBCXX_TESTSUITE_STDS=11,17,23</code>
+ is equivalent to the <code class="code">v3_std_list</code> value above.
</p><p>
To run the libstdc++ test suite under the
<a class="link" href="debug_mode.html" title="Chapter 17. Debug Mode">debug mode</a>, use
diff --git a/libstdc++-v3/doc/xml/manual/test.xml b/libstdc++-v3/doc/xml/manual/test.xml
index 4092694..6b7f1b0 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</programlisting>
Since GCC 14, the libstdc++ testsuite has built-in support for running
tests with more than one <option>-std</option>, similar to the G++ tests.
Adding <code>set v3_std_list { 11 17 23 }</code> to
- <filename>~/.dejagnurc</filename> or a file named by the
+ <filename>~/.dejagnurc</filename> or to a file named by the
<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 <envar>GLIBCXX_TESTSUITE_STDS</envar>
- environment variable.
+ environment variable, e.g. <envar>GLIBCXX_TESTSUITE_STDS=11,17,23</envar>
+ is equivalent to the <code>v3_std_list</code> value above.
</para>
<para>