<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
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>
<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>
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>