[libstdc++-v3] Fix dg-require before dg-run directives in testsuite.

Jonathan Wakely jwakely@redhat.com
Wed Sep 14 13:28:00 GMT 2016


On 14/09/16 15:17 +0200, Christophe Lyon wrote:
>It seems some tests still have dg-require or dg-skip before dg-do.
>The attached patch fixes that, the only effect is that
>25_algorithms/lower_bound/debug/irreflexive.cc
>is now UNSUPPORTED instead of PASS on arm* and aarch64* targets.
>
>I'm not sure if that's expected. I do see: "#error No debug mode" in the logs.

It's expected, because it has dg-require-debug-mode, so the test
should only run when doing make check-debug, or adding
-D_GLIBCXX_DEBUG to the options used for testing.

It passes in normal mode too, but doesn't test anything very
interesting, so doesn't need to be tested.

>OK for trunk?

Yes, thanks.




More information about the Libstdc++ mailing list