diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-07-16 01:01:12 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-07-16 01:01:12 +0100 |
| commit | 3ebaa488a4388a5039803e26a64fa7b8ff1669e9 (patch) | |
| tree | 24d9268e0a6980cf1bb8cce06d93f88639d3bf2d /test/wscript | |
| parent | 11d57d48b64c6e174cb94b0a63150e9b91dd7942 (diff) | |
Move configure()s down to the appropriate level.
Diffstat (limited to 'test/wscript')
| -rw-r--r-- | test/wscript | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/wscript b/test/wscript index 7ea02a804..2869cd52c 100644 --- a/test/wscript +++ b/test/wscript @@ -1,3 +1,10 @@ +def configure(conf): + conf.check_cxx(fragment = """ + #define BOOST_TEST_MODULE Config test\n + #include <boost/test/unit_test.hpp>\n + int main() {} + """, msg = 'Checking for boost unit testing library', lib = 'boost_unit_test_framework', uselib_store = 'BOOST_TEST') + def build(bld): obj = bld(features = 'cxx cxxprogram') obj.name = 'short-unit-tests' |
