diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-05-24 12:57:07 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-05-24 12:57:07 +0200 |
| commit | 05ee2d8101a9d28e58a9aca41ebd85e8631b30b7 (patch) | |
| tree | 9671f68a1789339a970bbf51f92d04621aec6aa9 | |
| parent | 2aea5e99b0fc774d8539feac92224ca1caa823c7 (diff) | |
fixup! Move tests that only need src/lib into test/lib.
| -rw-r--r-- | test/lib/wscript | 3 | ||||
| -rw-r--r-- | test/wscript | 7 |
2 files changed, 8 insertions, 2 deletions
diff --git a/test/lib/wscript b/test/lib/wscript index c0553b08d..8057dfeb0 100644 --- a/test/lib/wscript +++ b/test/lib/wscript @@ -28,7 +28,7 @@ def build(bld): obj.uselib += 'WINSOCK2 DBGHELP SHLWAPI MSWSOCK BOOST_LOCALE ' if bld.env.TARGET_LINUX: obj.uselib += 'DL ' - obj.use = 'libdcpomatic2' + obj.use = 'libdcpomatic2 test' obj.source = """ 2536_regression_test.cc 2986_regression_test.cc @@ -162,7 +162,6 @@ def build(bld): subtitle_timing_test.cc subtitle_trim_test.cc template_test.cc - ../test.cc text_decoder_test.cc text_entry_point_test.cc threed_test.cc diff --git a/test/wscript b/test/wscript index 23286751e..612cc4fe0 100644 --- a/test/wscript +++ b/test/wscript @@ -33,6 +33,13 @@ def configure(conf): """, msg = 'Checking for boost unit testing library', lib = 'boost_unit_test_framework%s' % boost_test_suffix, uselib_store = 'BOOST_TEST') def build(bld): + obj = bld(features='cxx cxxstlib') + obj.name = 'test' + obj.source = 'test.cc' + obj.use = 'libdcpomatic2' + obj.uselib = 'DCP' + obj.target = 'test' + bld.recurse('lib') bld.recurse('wx') |
