X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=cscript;h=58694c0a15975ac897acf6bf514dc0ae46dacde0;hb=1a7c50245309bb0b99001940b2203a267de942ca;hp=ac0f48d6658c47cc0f9b9756331e4fee42632018;hpb=853971510721bbb1e58d10344f03941c90fe51cc;p=dcpomatic.git diff --git a/cscript b/cscript index ac0f48d66..58694c0a1 100644 --- a/cscript +++ b/cscript @@ -375,8 +375,8 @@ def dependencies(target, options): (target.platform == 'osx' and target.bits == 64) or (target.platform == 'windows')) else {} - deps.append(('libdcp', '9d1c856', cpp_lib_options)) - deps.append(('libsub', '1b52b38', cpp_lib_options)) + deps.append(('libdcp', 'd08f689', cpp_lib_options)) + deps.append(('libsub', '8f67794', cpp_lib_options)) deps.append(('leqm-nrt', 'carl')) deps.append(('rtaudio', 'carl')) # We get our OpenSSL libraries from the environment, but we @@ -386,6 +386,7 @@ def dependencies(target, options): deps.append(('openssl', 'carl')) if can_build_disk(target): deps.append(('lwext4', '370b3de6')) + deps.append(('ffcmp', None)) return deps @@ -738,12 +739,14 @@ 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, test): - if target.platform != 'windows': - target.set('LC_ALL', 'C') +def test(target, options, test): + target.set('LC_ALL', 'C') + if target.platform == 'windows': + cmd = 'run\\tests' + else: cmd = 'run/tests ' - if target.debug: - cmd += '--backtrace ' - if test is not None: - cmd += '--run_test=%s' % test - target.command(cmd) + if target.debug: + cmd += '--backtrace ' + if test is not None: + cmd += '--run_test=%s' % test + target.command(cmd)