summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-06-12 00:40:36 +0100
committerCarl Hetherington <cth@carlh.net>2016-06-12 00:40:36 +0100
commit3622680ecd0f502625ac61ab8477e1a7fd9b06f4 (patch)
tree65a52318fe75a019e115dca5dc47e5f40af70c94 /cscript
parent3e299e5610b5e5929769a9ced21f8b45f8820d81 (diff)
Fix test runner.
Diffstat (limited to 'cscript')
-rw-r--r--cscript7
1 files changed, 5 insertions, 2 deletions
diff --git a/cscript b/cscript
index 25b354c..db9cf87 100644
--- a/cscript
+++ b/cscript
@@ -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)