diff options
author | Jacek Konieczny <jajcus@jajcus.net> | 2004-12-30 18:38:40 +0300 |
---|---|---|
committer | Jacek Konieczny <jajcus@jajcus.net> | 2004-12-30 18:38:40 +0300 |
commit | f422cc9d2b1defd3b52cb88156f5f5076bda75ce (patch) | |
tree | 680633e7f2d50afb9672cdf69c29349f970843fb /Makefile | |
parent | 090719de4c321b6e229f3f46a4bf9ea1f01cdb81 (diff) |
- regression testing using PyUnit (unittest)
- the first test suite: for the vcard module
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 |