Move some tests around.
[dcpomatic.git] / test / wscript
index 1dc498baba7a7d37dd8a04c27c567ca340c4fe83..4c0b4109f712807f3d844268e39666dc960a4297 100644 (file)
@@ -1,19 +1,20 @@
 #
 #    Copyright (C) 2012-2016 Carl Hetherington <cth@carlh.net>
 #
-#    This program is free software; you can redistribute it and/or modify
+#    This file is part of DCP-o-matic.
+#
+#    DCP-o-matic 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,
+#    DCP-o-matic 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.
+#    along with DCP-o-matic.  If not, see <http://www.gnu.org/licenses/>.
 #
 
 def configure(conf):
@@ -33,9 +34,9 @@ def build(bld):
     obj = bld(features='cxx cxxprogram')
     obj.name   = 'unit-tests'
     obj.uselib =  'BOOST_TEST BOOST_THREAD BOOST_FILESYSTEM BOOST_DATETIME SNDFILE SAMPLERATE DCP FONTCONFIG CAIROMM PANGOMM XMLPP '
-    obj.uselib += 'AVFORMAT AVFILTER AVCODEC AVUTIL SWSCALE POSTPROC CXML MAGICK SUB GLIB CURL SSH XMLSEC BOOST_REGEX ICU '
+    obj.uselib += 'AVFORMAT AVFILTER AVCODEC AVUTIL SWSCALE POSTPROC CXML MAGICK SUB GLIB CURL SSH XMLSEC BOOST_REGEX ICU NETTLE '
     if bld.env.TARGET_WINDOWS:
-        obj.uselib += 'WINSOCK2'
+        obj.uselib += 'WINSOCK2 BFD DBGHELP IBERTY SHLWAPI MSWSOCK BOOST_LOCALE '
     obj.use    = 'libdcpomatic2'
     obj.source = """
                  4k_test.cc
@@ -52,6 +53,7 @@ def build(bld):
                  colour_conversion_test.cc
                  dcp_subtitle_test.cc
                  dcpomatic_time_test.cc
+                 digest_test.cc
                  ffmpeg_audio_test.cc
                  ffmpeg_audio_only_test.cc
                  ffmpeg_dcp_test.cc
@@ -61,11 +63,13 @@ def build(bld):
                  ffmpeg_pts_offset_test.cc
                  file_group_test.cc
                  file_log_test.cc
+                 file_naming_test.cc
                  film_metadata_test.cc
                  frame_rate_test.cc
                  image_filename_sorter_test.cc
                  image_test.cc
                  import_dcp_test.cc
+                 interrupt_encoder_test.cc
                  isdcf_name_test.cc
                  job_test.cc
                  make_black_test.cc
@@ -77,12 +81,14 @@ def build(bld):
                  rect_test.cc
                  reels_test.cc
                  required_disk_space_test.cc
+                 render_subtitles_test.cc
                  resampler_test.cc
                  scaling_test.cc
                  seek_zero_test.cc
                  silence_padding_test.cc
                  skip_frame_test.cc
                  srt_subtitle_test.cc
+                 ssa_subtitle_test.cc
                  stream_test.cc
                  test.cc
                  threed_test.cc
@@ -93,8 +99,8 @@ def build(bld):
                  vf_test.cc
                  video_content_scale_test.cc
                  video_decoder_fill_test.cc
+                 video_frame_test.cc
                  video_mxf_content_test.cc
-                 xml_subtitle_test.cc
                  """
 
     # Disabled tests: some difference in font rendering between the test machine