diff Makefile @ 2006:1339d6fdc4ff

Changed tests to use py.test. Also changed the semantics a bit - the test wiki directory is only created freshly if it does not exist.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Fri, 20 Apr 2007 00:12:50 +0200
parents b06ef2a53efa
children 087bdf9de399
line wrap: on
line diff
--- a/Makefile	Thu Apr 19 12:55:07 2007 +0200
+++ b/Makefile	Fri Apr 20 00:12:50 2007 +0200
@@ -50,7 +50,7 @@
 	cd $(share); rm -rf underlay.tar.bz2; tar cjf underlay.tar.bz2 underlay
 
 pagepacks:
-	@python tests/maketestwiki.py
+	@python MoinMoin/_tests/maketestwiki.py
 	@MoinMoin/script/moin.py --config-dir=$(testwiki)/.. maint mkpagepacks
 	cd $(share) ; rm -rf underlay
 	cp -a $(testwiki)/underlay $(share)/
@@ -77,12 +77,12 @@
 update-underlay:
 	cd $(share); rm -rf underlay; tar xjf underlay.tar.bz2
 
-test: 
-	@python tests/maketestwiki.py
-	@python tests/runtests.py
+test:
+	@echo Testing is now done using \`py.test\`. py.test can be installed by downloading from http://codespeak.net/py/dist/download.html
+	@echo Writing tests is explained on http://codespeak.net/py/dist/test.html
 
 coverage:
-	@python tests/maketestwiki.py
+	@python MoinMoin/_tests/maketestwiki.py
 	@python -u -m trace --count --coverdir=cover --missing tests/runtests.py
 
 pylint: