projects
/
libsub.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e299e5
)
Fix test runner.
author
Carl Hetherington
<cth@carlh.net>
Sat, 11 Jun 2016 23:40:36 +0000
(
00:40
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 11 Jun 2016 23:40:36 +0000
(
00:40
+0100)
cscript
patch
|
blob
|
history
diff --git
a/cscript
b/cscript
index 25b354cb6e9d33a6edca602ecc184711910591e1..db9cf8720c36f6e5d090200f6dccd0cc4e08faf5 100644
(file)
--- 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)