X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=cscript;h=51e98452556d672c30a2f7df42f30ed2fdd1acb7;hb=3cf34feb6e862968c28f0119fa16efea321474b9;hp=9b014e1af8249a40fdbae507068486d618f5dbed;hpb=48e131545b4d226a2890bb5345cb579fe4466868;p=libsub.git diff --git a/cscript b/cscript index 9b014e1..51e9845 100644 --- a/cscript +++ b/cscript @@ -1,7 +1,7 @@ import os def dependencies(target): - return (('libdcp', '3afe04f'),) + return (('asdcplib-cth', '162963e'), ('libcxml', 'v0.15.4')) 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)