Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2004-09-08 06:50:07


Robert Ramey writes:
> I'm struggling with the explicit-failures XML.
>
> About 40% of the serialization tests will fail on platforms which do not
> include support from wchar_t streams. As Understand the current schema (XML
> is not all that clear to me) I would have to specify one line for each pair
> of toolset-test that fails on this scenario. I my case this means 100 test
> * 6? Toolsets = ? 600 lines of xml added to this file.

>From this moment on, the regression tools implement support for a limited
form of regular expressions in test case names, namely:

    <test name="sometestname"> // exact match
    <test name="*"> // anything
    <test name="*sometestname*"> // contains "sometestname"
    <test name="sometestname*"> // starts with "sometestname"
    <test name="*sometestname"> // ends with "sometestname"

Given this, your use case can be covered by something as simple as this:

    <test name="*_warchive">
        <mark-failure>
            <toolset name="mingw-3.4.1"/>
            ....
        </mark-failure>

HTH,

--
Aleksey Gurtovoy
MetaCommunications Engineering

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk