Improve error messages on failing to load DCP subs.
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index 56a555fa0bed00e389179a5270b5f8a29aa5d8a8..82c39a0f8557c3fef7a90f29be7e87700c81340c 100644 (file)
--- a/cscript
+++ b/cscript
@@ -237,8 +237,8 @@ def dependencies(target):
         ffmpeg_options = {}
 
     return (('ffmpeg-cdist', 'aab2fb1', ffmpeg_options),
-            ('libdcp', '702a013'),
-            ('libsub', 'f0b58ee'))
+            ('libdcp', '937e435'),
+            ('libsub', '3e299e5'))
 
 def configure_options(target):
     opt = ''
@@ -371,7 +371,10 @@ def make_manual(target):
     target.command('pdflatex colour.tex')
     return [os.path.abspath('pdf'), os.path.abspath('html'), os.path.abspath('colour.pdf')]
 
-def test(target):
+def test(target, test):
     if target.platform != 'windows':
         target.set('LC_ALL', 'C')
-        target.command('run/tests')
+        if test is None:
+            target.command('run/tests')
+        else:
+            target.command('run/tests --run_test=%s' % test)