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 ? )

--grafik

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk