X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=cscript;h=cba825ecabde3405ca5162c4d2bc8fd96a1eaf7b;hb=aa2b282c8fb8a23b45a9889a0b62dfc3ad2bcd4a;hp=0a2fef9c782cf8045e2478f582497e68d68765f2;hpb=bdb3a5764e9e39cf58bd63b35d19861ee8e1e3e8;p=dcpomatic.git diff --git a/cscript b/cscript index 0a2fef9c7..cba825eca 100644 --- 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)