X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=cscript;h=69458900b88142d13a7b79671897324854e00840;hp=ef7306aed28c4b790e67178394f7449bf0e78299;hb=2bd3a2f185b4755c4a01ba5c34c1d3e1f78e5c97;hpb=f7d2493f8c11579bc776b5d0d54498d1834ab525 diff --git a/cscript b/cscript index ef7306aed..69458900b 100644 --- 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', 'eec238a'), + ('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)