$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-02-28 12:27:02
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?
You can use the compile-fail rule. See, e.g.,
http://www.boost.org/libs/static_assert/Jamfile.
Jonathan