Fix running single tests on Windows.
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index 990ad52f3c5e8f2a4e98e92219fde3b7f3cd024a..9e7ba447dc863c9c5ed9f80719ea47e6de4b1a85 100644 (file)
--- a/cscript
+++ b/cscript
@@ -370,8 +370,8 @@ def dependencies(target, options):
             (target.platform == 'osx' and target.bits == 64) or
             (target.platform == 'windows')) else {}
 
-    deps.append(('libdcp', 'b636c3e', cpp_lib_options))
-    deps.append(('libsub', '6514f5b', cpp_lib_options))
+    deps.append(('libdcp', 'c9865a3', cpp_lib_options))
+    deps.append(('libsub', 'b0413a7', cpp_lib_options))
     deps.append(('leqm-nrt', 'carl'))
     deps.append(('rtaudio', 'carl'))
     # We get our OpenSSL libraries from the environment, but we
@@ -737,11 +737,11 @@ def make_manual(target):
 def test(target, options, test):
     target.set('LC_ALL', 'C')
     if target.platform == 'windows':
-        cmd = 'run\\tests'
+        cmd = 'run\\tests '
     else:
         cmd = 'run/tests '
     if target.debug:
         cmd += '--backtrace '
     if test is not None:
-        cmd += '--run_test=%s' % test
+        cmd += '-%s' % test
     target.command(cmd)