]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Add GLIBCXX_TESTSUITE_STDS example to docs
authorJonathan Wakely <jwakely@redhat.com>
Tue, 22 Oct 2024 20:18:51 +0000 (21:18 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 23 Oct 2024 14:59:55 +0000 (15:59 +0100)
libstdc++-v3/ChangeLog:

* doc/xml/manual/test.xml: Add GLIBCXX_TESTSUITE_STDS example.
* doc/html/manual/test.html: Regenerate.

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

index 3657997fad46e4519b40729a097d582bb2a51251..1c7af1193daf74b03b03cd47f825b6cf0541ec8d 100644 (file)
@@ -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
index 40926946fe7a4710bff8ce2ca7cb270b7cdbb881..6b7f1b04a2ac09c1fa413fc089d17e0308dbd6c9 100644 (file)
@@ -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>