projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
935a34b
)
New cdist can run a specific test.
author
Carl Hetherington
<cth@carlh.net>
Fri, 10 Jun 2016 22:21:45 +0000
(23:21 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 10 Jun 2016 22:21:45 +0000
(23:21 +0100)
cscript
patch
|
blob
|
history
diff --git
a/cscript
b/cscript
index 08cbff2e0d2ce7f922bf08bd447dfa198cfe60a0..6015e34d6c01baaad2a649ea53b3fb98a0df4c24 100644
(file)
--- 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)