X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=cscript;h=be695e24499894d81f859a310e900b8d4452f0b2;hb=ada96204dfa1456da77e2ea7469f492cfc0a5483;hp=1381ddcee29fde97dd2500d3003ac791f8bf64f2;hpb=fc39cebbc4d20238a4b751724ea32105bdd61286;p=dcpomatic.git diff --git a/cscript b/cscript index 1381ddcee..be695e244 100644 --- a/cscript +++ b/cscript @@ -236,9 +236,9 @@ def dependencies(target): else: ffmpeg_options = {} - return (('ffmpeg-cdist', 'aab2fb1', ffmpeg_options), - ('libdcp', '89d5fe1'), - ('libsub', '96ea6d2')) + return (('ffmpeg-cdist', '1d4a1a4', ffmpeg_options), + ('libdcp', 'd46f968'), + ('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)