
7 Oct
2009
7 Oct
'09
12:51 a.m.
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.
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.