|
Boost Testing : |
From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2005-07-18 21:28:18
David Abrahams writes:
> Aleksey Gurtovoy <agurtovoy_at_[hidden]> writes:
>> OK, how would you feel about something like this instead
>>
>> <test name="interoperable_fail" category="Corner-case tests">
>> <mark-failure ignore-unexpected-success="true">
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> <toolset name="*"/>
>> ^^^^^^^^^^^^^^^^^^^
>> <note author="D. Abrahams">
>> This failure is caused by a compiler bug. Templated operators
>> that combine different iterators built with iterator_facade or
>> iterator_adaptor may be present in an overload set even when those
>> iterators are not interoperable. The usual result is that error
>> messages generated by illegal use of these operators will be of
>> lower quality.
>> </note>
>> </mark-failure>
>> </test>
>
> It's much less verbose and fragile, but it doesn't seem to express my
> intention either. I don't want to ignore unexpected success. I want
> to supply a note that is displayed for a particular test whenever it
> fails.
But it _does_ mean ignoring unexpected success in terms of the rest of
the markup.
-- Aleksey Gurtovoy MetaCommunications Engineering