Boost logo

Boost Testing :

From: David Abrahams (dave_at_[hidden])
Date: 2005-07-18 23:12:40

Aleksey Gurtovoy <agurtovoy_at_[hidden]> writes:

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

I'm sorry, I don't even know what "ignoring unexpected success" means.
When you add "in terms of the rest of the markup," I am even more at
sea. I'm probably being thick, I know, but I just don't get it.


Dave Abrahams
Boost Consulting

Boost-testing list run by mbergal at