From 05ee2d8101a9d28e58a9aca41ebd85e8631b30b7 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 24 May 2025 12:57:07 +0200 Subject: fixup! Move tests that only need src/lib into test/lib. --- test/lib/wscript | 3 +-- 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') -- cgit v1.2.3