Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/Makefile
blob: c2581cbdf75cb383c9c1f0639094186b36905c1d (plain)
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
# howto inherit this properly from above?
# its not an option to configure
PYTHON=python

all: clean test

test: 
	@${PYTHON} runalltests.py 

valgrind:
	@echo "Profiling the process. Run kcachegrind on the output"
	valgrind  --tool=callgrind --suppressions=valgrind-python.supp ${PYTHON} runalltests.py

profile:
	@find . -name "hotspot*" -exec rm {} \;
	@${PYTHON} ./profilealltests.py

clean: 
	@${PYTHON} ./cleaner.py
	@find . -name "*.pyc" -exec rm {} \;
	@find . -name "*~" -exec rm {} \;
	@find . -name "hotspot*" -exec rm {} \;
	@find . -name "callgrind.out*" -exec rm {} \;

tags: