summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test.cc3
-rw-r--r--test/wscript2
2 files changed, 3 insertions, 2 deletions
diff --git a/test/test.cc b/test/test.cc
index 2cde0776..65649efd 100644
--- a/test/test.cc
+++ b/test/test.cc
@@ -31,8 +31,9 @@
files in the program, then also delete it here.
*/
-#define BOOST_TEST_DYN_LINK
+
#define BOOST_TEST_MODULE libdcp_test
+
#include "compose.hpp"
#include "cpl.h"
#include "dcp.h"
diff --git a/test/wscript b/test/wscript
index 64b3ed59..13493f1e 100644
--- a/test/wscript
+++ b/test/wscript
@@ -42,7 +42,7 @@ def configure(conf):
conf.check_cxx(fragment="""
#define BOOST_TEST_MODULE Config test\n
#include <boost/test/unit_test.hpp>\n
- int main() {}
+ BOOST_AUTO_TEST_CASE(foo) {}
""",
msg='Checking for boost unit testing library',
lib='boost_unit_test_framework%s' % boost_lib_suffix,