Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Jajcus/pyxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacek Konieczny <jajcus@jajcus.net>2004-12-30 18:38:40 +0300
committerJacek Konieczny <jajcus@jajcus.net>2004-12-30 18:38:40 +0300
commitf422cc9d2b1defd3b52cb88156f5f5076bda75ce (patch)
tree680633e7f2d50afb9672cdf69c29349f970843fb /Makefile
parent090719de4c321b6e229f3f46a4bf9ea1f01cdb81 (diff)
- regression testing using PyUnit (unittest)
- the first test suite: for the vcard module
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6e9b5ca..3ec1439 100644
--- a/Makefile
+++ b/Makefile
@@ -3,15 +3,20 @@ SNAPSHOT=
DESTDIR="/"
-.PHONY: all version snapshot dist doc cosmetics TODO.pylint pylint ChangeLog www publish
+.PHONY: all build test version snapshot dist doc cosmetics TODO.pylint pylint ChangeLog www publish
-all: version
+all: build test
+
+build: version
umask 022 ; python setup.py build
-cd examples ; rm -f pyxmpp 2>/dev/null ; ln -s ../build/lib*/pyxmpp .
-cd examples ; chmod a+x *.py
-cd tests ; rm -f pyxmpp 2>/dev/null ; ln -s ../build/lib*/pyxmpp .
-cd tests ; chmod a+x *.py
+test:
+ $(MAKE) -C tests
+
doc:
$(MAKE) -C doc