Subject: Re: [boost] how to mark test as "expected fail" for some toolsets
From: Thomas Klimpel (Thomas.Klimpel_at_[hidden])
Date: 2009-10-06 20:51:51
> > I'd like to mark the begin_end test of uBLAS as compile-fail for MSVC
> > 7.1 (). However I was not able to figure out how this works.
> What do you mean by compile-fail? Do you want to test that the test fails to compile with msvc-7.1?
> I tried to use a separate begin_end-cf target for this, but I didn't succeed in excluding it from build for the non msvc-7.1 toolsets.
Excluding seems to be difficult, but switching between "run" and "compile-fail" depending on <toolset>msvc-7.1 seems to work (see attachment). However, having a test with the same name test different things on different toolsets doesn't seem to be a good idea.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk