Add basic unit test for the disk writer code.
[dcpomatic.git] / test / wscript
index aa535ba271fd7e9ccc1a33490fdac20508e28f2b..cf0e8e6e3a81f69ace69661c837ac4071f3aa188 100644 (file)
@@ -60,6 +60,7 @@ def build(bld):
                  colour_conversion_test.cc
                  config_test.cc
                  content_test.cc
+                 cpl_hash_test.cc
                  create_cli_test.cc
                  crypto_test.cc
                  dcpomatic_time_test.cc
@@ -67,7 +68,6 @@ def build(bld):
                  dcp_playback_test.cc
                  dcp_subtitle_test.cc
                  digest_test.cc
-                 ecinema_kdm_test.cc
                  empty_test.cc
                  ffmpeg_audio_only_test.cc
                  ffmpeg_audio_test.cc
@@ -93,7 +93,6 @@ def build(bld):
                  j2k_bandwidth_test.cc
                  job_test.cc
                  kdm_naming_test.cc
-                 make_black_test.cc
                  markers_test.cc
                  no_use_video_test.cc
                  optimise_stills_test.cc
@@ -119,6 +118,8 @@ def build(bld):
                  ssa_subtitle_test.cc
                  stream_test.cc
                  subtitle_charset_test.cc
+                 subtitle_language_test.cc
+                 subtitle_metadata_test.cc
                  subtitle_reel_test.cc
                  subtitle_reel_number_test.cc
                  subtitle_trim_test.cc
@@ -137,6 +138,10 @@ def build(bld):
                  zipper_test.cc
                  """
 
+    if bld.env.TARGET_LINUX and bld.env.ENABLE_DISK:
+        obj.source += " disk_writer_test.cc"
+        obj.uselib += "LWEXT4 NANOMSG "
+
     # Some difference in font rendering between the test machine and others...
     # burnt_subtitle_test.cc
     # This one doesn't check anything