diff options
Diffstat (limited to 'test/wscript')
| -rw-r--r-- | test/wscript | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/test/wscript b/test/wscript index 7bb68252..b2b1b038 100644 --- a/test/wscript +++ b/test/wscript @@ -4,31 +4,30 @@ def configure(conf): else: boost_lib_suffix = '' - 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%s' % boost_lib_suffix, - uselib_store = 'BOOST_TEST') + 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%s' % boost_lib_suffix, + uselib_store='BOOST_TEST') conf.env.prepend_value('LINKFLAGS', '-Lsrc') def build(bld): - obj = bld(features = 'cxx cxxprogram') + obj = bld(features='cxx cxxprogram') obj.name = 'tests' obj.uselib = 'BOOST_TEST OPENJPEG CXML XMLSEC1' obj.use = 'libdcp' +# dcp_test.cc +# encryption_test.cc obj.source = """ certificates_test.cc color_test.cc cpl_sar.cc - dcp_test.cc dcp_time_test.cc decryption_test.cc - encryption_test.cc - error_test.cc frame_info_test.cc kdm_key_test.cc kdm_test.cc @@ -44,7 +43,7 @@ def build(bld): obj.target = 'tests' obj.install_path = '' - obj = bld(features = 'cxx cxxprogram') + obj = bld(features='cxx cxxprogram') obj.name = 'subs_in_out' obj.uselib = 'BOOST_TEST OPENJPEG CXML' obj.use = 'libdcp' @@ -52,7 +51,7 @@ def build(bld): obj.target = 'subs_in_out' obj.install_path = '' - obj = bld(features = 'cxx cxxprogram') + obj = bld(features='cxx cxxprogram') obj.name = 'rewrite_subs' obj.uselib = 'BOOST_TEST OPENJPEG CXML' obj.use = 'libdcp' |
