X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fwscript;h=a5556e25dd1b14e4c8a899bb4669eed391c65787;hb=989d8622ffa3287af860574e71bb033ad6215686;hp=3c8271cf917a76bddf3917f3320e55b72e2ce897;hpb=ac745a99ffa43cd10940066d6009e49cd08288a3;p=dcpomatic.git diff --git a/test/wscript b/test/wscript index 3c8271cf9..a5556e25d 100644 --- a/test/wscript +++ b/test/wscript @@ -1,3 +1,21 @@ +# +# Copyright (C) 2012-2015 Carl Hetherington +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# + def configure(conf): boost_test_suffix='' if conf.env.TARGET_WINDOWS: @@ -13,7 +31,9 @@ def build(bld): obj = bld(features='cxx cxxprogram') obj.name = 'unit-tests' obj.uselib = 'BOOST_TEST BOOST_THREAD BOOST_FILESYSTEM BOOST_DATETIME SNDFILE DCP OPENJPEG CAIROMM PANGOMM XMLPP ' - obj.uselib += 'AVFORMAT AVFILTER AVCODEC AVUTIL SWSCALE POSTPROC CXML MAGICK SUB GLIB' + obj.uselib += 'AVFORMAT AVFILTER AVCODEC AVUTIL SWSCALE POSTPROC CXML MAGICK SUB GLIB CURL ' + if bld.env.TARGET_WINDOWS: + obj.uselib += 'WINSOCK2' obj.use = 'libdcpomatic2' obj.source = """ 4k_test.cc @@ -37,6 +57,7 @@ def build(bld): file_log_test.cc film_metadata_test.cc frame_rate_test.cc + image_filename_sorter_test.cc image_test.cc import_dcp_test.cc isdcf_name_test.cc @@ -52,11 +73,14 @@ def build(bld): seek_zero_test.cc silence_padding_test.cc skip_frame_test.cc + srt_subtitle_test.cc stream_test.cc test.cc threed_test.cc + update_checker_test.cc upmixer_a_test.cc util_test.cc + video_content_scale_test.cc video_decoder_fill_test.cc xml_subtitle_test.cc """