Boost logo

Boost :

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:29:43


> I'd like to mark the begin_end test of uBLAS as compile-fail for MSVC
> 7.1 ([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.

> Does anyone have some insights (or maybe a patch) to do this?

The attached patch excludes the begin_end test from build for the msvc-7.1 toolset.



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