summaryrefslogtreecommitdiff
path: root/test/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'test/wscript')
-rw-r--r--test/wscript15
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 = ''