Add test() method to cscript.
authorCarl Hetherington <cth@carlh.net>
Mon, 2 Dec 2013 12:50:39 +0000 (12:50 +0000)
committerCarl Hetherington <cth@carlh.net>
Mon, 2 Dec 2013 12:50:39 +0000 (12:50 +0000)
cscript

diff --git a/cscript b/cscript
index b7f2d191be9ad00098181504b9b519117684c4d9..1c09b043321ae4690543fc3145bd66a2add90835 100644 (file)
--- 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')