This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On 14 September 2016 at 15:27, Jonathan Wakely <jwakely@redhat.com> wrote:
> 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.
>
Thanks for the explanation.
Committed as r240135.

Christophe

>> OK for trunk?
>
>
> Yes, thanks.
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]