early python port of the FIT test framework (http://fit.zwiki.org/)

root / Makefile

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
PRODUCT=fit
VERSION=

check:
	rsync -ruvC -e ssh -n . zwiki.org:ZWiki/fit

push:
	rsync -ruvC -e ssh . zwiki.org:ZWiki/fit

fittests:
	-FileRunner.py Documents/arithmetic.html Reports/arithmetic.html
	-WikiRunner.py Documents/CalculatorExample.html Reports/CalculatorExample.html
	-WikiRunner.py Documents/MusicExample.html Reports/MusicExample.html

test unittests:
	python2.1 FrameworkTest.py

tags: 
	find $$PWD/ -name old -prune -o -name releases -prune -o \
	  -name '*.py' -print | xargs ~/bin/eptags.py
#	~/bin/eptags.py `find $$PWD -name '*.py' |grep -v old|grep -v releases`

#cvstag:
#	cvs tag -cF release_`echo $(VERSION) |sed -e 's/\./_/g'`

#cvsuntag:
#	cvs tag -d release_`echo $(VERSION) |sed -e 's/\./_/g'`

release: Clean
	cd ..; \
	tar czvf $(PRODUCT)-$(VERSION).tgz --exclude=Makefile python-Source
#	rm -f releases/$(FILE)
#	cvs export -r release_`echo $(VERSION) |sed -e 's/\./_/g'` \
#		-d $(PRODUCT) $(CVSMODULE)
#	find $(PRODUCT) -name Makefile -o -name TAGS |xargs rm -f

clean:
	for d in fittests .; do cd $(PWD)/$$d; rm -f .*~ *~ *.tgz; done

Clean: clean
	rm -f TAGS *.pyc */*.pyc

CLEAN: Clean
	rm -f reports/*.html