Supporter.
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index 0a2fef9c782cf8045e2478f582497e68d68765f2..cba825ecabde3405ca5162c4d2bc8fd96a1eaf7b 100644 (file)
--- a/cscript
+++ b/cscript
@@ -237,7 +237,7 @@ def dependencies(target):
         ffmpeg_options = {}
 
     return (('ffmpeg-cdist', '1d4a1a4', ffmpeg_options),
-            ('libdcp', 'b487f83'),
+            ('libdcp', '4e2d5cc'),
             ('libsub', '067c21c'))
 
 def configure_options(target):
@@ -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)