summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-12-02 12:50:39 +0000
committerCarl Hetherington <cth@carlh.net>2013-12-02 12:50:39 +0000
commitbf6a4e484b5339d555f804eebe5c9e3697b13e6a (patch)
tree73911112d73e6acef7af157da98eff099c034796
parent2d5b8cdde08044d323aa7193dfac6c9f8bca7131 (diff)
Add test() method to cscript.
-rw-r--r--cscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/cscript b/cscript
index b7f2d191b..1c09b0433 100644
--- a/cscript
+++ b/cscript
@@ -183,3 +183,6 @@ def make_manual(target):
target.command('make')
target.command('pdflatex colour.tex')
return [os.path.abspath('pdf'), os.path.abspath('html'), os.path.abspath('colour.pdf')]
+
+def test(target):
+ target.command('run/tests')