X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=cscript;h=2b9e81782c629846ec53274766c28732622df024;hb=d848eed414a5d5c8bc35a3ec843f01e8b609f60d;hp=473cac2eaf3048185065c2e886622d3c9c1766b5;hpb=401998a2b3c588a479e5d0b42f4a327481b46dc0;p=libsub.git diff --git a/cscript b/cscript index 473cac2..2b9e817 100644 --- a/cscript +++ b/cscript @@ -1,7 +1,7 @@ import os def dependencies(target): - return (('asdcplib-cth', 'v0.1.0'), ('libcxml', 'v0.15.1')) + return (('asdcplib-cth', 'd2042ad'), ('libcxml', 'v0.15.1')) 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)