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