Bump libdcp for an improved error message.
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index ef7306aed28c4b790e67178394f7449bf0e78299..1081f661d447d50ad3dc553eda984c3ac6598e5f 100644 (file)
--- a/cscript
+++ b/cscript
@@ -237,8 +237,8 @@ def dependencies(target):
         ffmpeg_options = {}
 
     return (('ffmpeg-cdist', '1d4a1a4', ffmpeg_options),
-            ('libdcp', 'v1.3.4'),
-            ('libsub', 'v1.1.13'))
+            ('libdcp', 'e02bf26'),
+            ('libsub', '067c21c'))
 
 def configure_options(target):
     opt = ''
@@ -381,7 +381,9 @@ def make_manual(target):
 def test(target, test):
     if target.platform != 'windows':
         target.set('LC_ALL', 'C')
-        if test is None:
-            target.command('run/tests')
-        else:
-            target.command('run/tests --run_test=%s' % test)
+        cmd = 'run/tests '
+        if target.debug:
+            cmd += '--backtrace '
+        if test is not None:
+            cmd += '--run_test=%s' % test
+        target.command(cmd)