X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=cscript;h=cba825ecabde3405ca5162c4d2bc8fd96a1eaf7b;hb=b1dc9c3a2f7e55c9afc5bf2d5b465371b048e14f;hp=69cb9b3ad9b6745c27bafbbcc399824b3fe9b5ff;hpb=9875fc1223525eabac100a8b05ae6223ba204428;p=dcpomatic.git diff --git a/cscript b/cscript index 69cb9b3ad..cba825eca 100644 --- a/cscript +++ b/cscript @@ -236,9 +236,9 @@ def dependencies(target): else: ffmpeg_options = {} - return (('ffmpeg-cdist', 'aab2fb1', ffmpeg_options), - ('libdcp', 'fe3bb91'), - ('libsub', 'd848eed')) + return (('ffmpeg-cdist', '1d4a1a4', ffmpeg_options), + ('libdcp', '4e2d5cc'), + ('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)