diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-06-10 23:21:45 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-06-10 23:21:45 +0100 |
| commit | 656a3ebb5d0aef141e4b777cd8e0110e9e722350 (patch) | |
| tree | 2424b0ebb7c8389b265fbedc3e8ed5ac5871a5c5 /cscript | |
| parent | 935a34ba3cbb86576b9ccaaf0b8c5de723a128d1 (diff) | |
New cdist can run a specific test.
Diffstat (limited to 'cscript')
| -rw-r--r-- | cscript | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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) |
