X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=inline;f=cscript;h=5f36d9622e454c77615c11ff3ba98788de41625c;hb=7ecaf5c4a60c27a78da26773b0fd2eb62ef26af6;hp=b7f2d191be9ad00098181504b9b519117684c4d9;hpb=747fc9e02cb66fb965e23a4cc0464cf7e8bd743d;p=dcpomatic.git diff --git a/cscript b/cscript index b7f2d191b..5f36d9622 100644 --- a/cscript +++ b/cscript @@ -114,10 +114,10 @@ def make_control(version, bits, filename): print >>f,' digital projectors.' def dependencies(target): - return (('ffmpeg-cdist', '0b7ef017aca8b572914518c759db1e234d8fc505'), - ('libdcp', 'v0.85')) + return (('ffmpeg-cdist', '5ac3a6af077c10f07c31954c372a8f29e4e18e2a'), + ('libdcp', '8803a19c6901ab3c3ff85c964343f08458e0824e')) -def build(target): +def build(target, options): cmd = './waf configure --prefix=%s' % target.work_dir_cscript() if target.platform == 'windows': cmd += ' --target-windows' @@ -183,3 +183,8 @@ def make_manual(target): target.command('make') target.command('pdflatex colour.tex') return [os.path.abspath('pdf'), os.path.abspath('html'), os.path.abspath('colour.pdf')] + +def test(target): + if target.platform != 'windows': + target.set('LC_ALL', 'C') + target.command('run/tests')