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 = ''
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)):
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)