diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-07-16 19:24:44 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-07-16 19:24:44 +0100 |
| commit | 7d48446b5efdf795df1ce22d6d9ed3ebe85d3381 (patch) | |
| tree | f492aebd71fae087e7903dafc097d3899cff8481 /test/wscript | |
Import.
Diffstat (limited to 'test/wscript')
| -rw-r--r-- | test/wscript | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/wscript b/test/wscript new file mode 100644 index 00000000..cd10983a --- /dev/null +++ b/test/wscript @@ -0,0 +1,15 @@ +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 = 'tests' + obj.uselib = 'BOOST_TEST' + obj.use = 'libdcp' + obj.source = 'tests.cc' + obj.target = 'tests' + obj.install_path = '' |
