Boost logo

Boost-Build :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-02-28 12:25:43

Jody Hagins wrote:
> How do I integrate tests that are not supposed to compile. For example,
> assume that a specification says that invoking the copy constructor
> should not compile. How do I wrote such a test, and integrate it into
> the build/test system such that a failed compilation is treated as a
> successful test?

# Test that the given source-file(s) fail to compile
rule compile-fail ( sources + : requirements * : test-name ? )



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at