]> rtime.felk.cvut.cz Git - wvtest.git/commitdiff
Add toplevel and python/ 'make test' example targets.
authorAvery Pennarun <apenwarr@gmail.com>
Fri, 1 May 2009 00:58:08 +0000 (20:58 -0400)
committerAvery Pennarun <apenwarr@gmail.com>
Fri, 1 May 2009 01:15:56 +0000 (21:15 -0400)
Makefile [new file with mode: 0644]
python/Makefile [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..42f5a4b
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
+
+all:
+       @echo "There's nothing to build here, really."
+       @echo
+       @echo "Try: make test"
+       
+runtests:
+       make -C python test
+       
+test:
+       ./wvtestrunner.pl $(MAKE) runtests
diff --git a/python/Makefile b/python/Makefile
new file mode 100644 (file)
index 0000000..5593e98
--- /dev/null
@@ -0,0 +1,9 @@
+
+all:
+       @echo "Try: make test"
+       @false
+
+test:
+       ../wvtestrunner.pl python wvtestmain.py \
+               $(patsubst ./%t,%t/*.py,$(shell find -type d -name t))
+