From 656a3ebb5d0aef141e4b777cd8e0110e9e722350 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 10 Jun 2016 23:21:45 +0100 Subject: New cdist can run a specific test. --- cscript | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'cscript') diff --git a/cscript b/cscript index 08cbff2e0..6015e34d6 100644 --- a/cscript +++ b/cscript @@ -371,7 +371,10 @@ def make_manual(target): target.command('pdflatex colour.tex') return [os.path.abspath('pdf'), os.path.abspath('html'), os.path.abspath('colour.pdf')] -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) -- cgit v1.2.3