X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=cscript;h=69458900b88142d13a7b79671897324854e00840;hb=2bd3a2f185b4755c4a01ba5c34c1d3e1f78e5c97;hp=a967e47a92cc3652c080df4c42d8792802dc539a;hpb=1b497a98c6a98e590750aadb1a81046a5e6a7f2f;p=dcpomatic.git diff --git a/cscript b/cscript index a967e47a9..69458900b 100644 --- a/cscript +++ b/cscript @@ -236,9 +236,9 @@ def dependencies(target): else: ffmpeg_options = {} - return (('ffmpeg-cdist', 'aab2fb1', ffmpeg_options), - ('libdcp', '89d5fe1'), - ('libsub', 'd848eed')) + return (('ffmpeg-cdist', '1d4a1a4', ffmpeg_options), + ('libdcp', 'eec238a'), + ('libsub', '067c21c')) def configure_options(target): opt = '' @@ -337,7 +337,10 @@ def package_rpm(target, cpu, version): if cpu == "amd64": cpu = "x86_64" else: - cpu = "i686" + if target.distro == 'centos' and target.version == '5': + cpu = "i386" + else: + cpu = "i686" print('Looking in %s/RPMS/%s/*.rpm' % (topdir, cpu)) for p in glob.glob('%s/RPMS/%s/*.rpm' % (topdir, cpu)): @@ -378,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)