X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=cscript;h=94a26d15decca79bb23d38233889902e6f88bf19;hb=8be82fcdcedcad8e22cd4065f2fea1b03e737826;hp=329b249835b9918f1f25906513aa162a81517922;hpb=a552ffff0be0639aacb1e77615c4d98bcf9ea3ff;p=libsub.git diff --git a/cscript b/cscript index 329b249..94a26d1 100644 --- a/cscript +++ b/cscript @@ -1,7 +1,7 @@ import os def dependencies(target): - return (('libdcp', '332c7c3'),) + return (('asdcplib-cth', 'f3b0fb8'), ('libcxml', '25e945f'), ('libdcp', '5e6d583')) def build(target, options): cmd = './waf configure --prefix=%s' % target.directory @@ -24,7 +24,10 @@ def make_doxygen(target): target.command('doxygen') return os.path.abspath('build/doc/html') -def test(target): +def test(target, test): if target.platform != 'windows': target.set('LC_ALL', 'C') - target.command('run/tests') + if test is None: + target.command('run/tests') + else: + target.command('run/tests --run_test=%s' % test)