blob: 6064fc636b6d569e12295d98a5bf9e2b72d2b949 (
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
28
29
30
31
32
33
34
35
|
# Some simple testing tasks (sorry, UNIX only).
PYTHON=python3
VERBOSE=$(V)
V= 0
FLAGS=
test:
$(PYTHON) runtests.py -v $(VERBOSE) $(FLAGS)
vtest:
$(PYTHON) runtests.py -v 1 $(FLAGS)
testloop:
while sleep 1; do $(PYTHON) runtests.py -v $(VERBOSE) $(FLAGS); done
# See runtests.py for coverage installation instructions.
cov coverage:
$(PYTHON) runtests.py --coverage tulip -v $(VERBOSE) $(FLAGS)
echo "open file://`pwd`/htmlcov/index.html"
check:
$(PYTHON) check.py
clean:
rm -rf `find . -name __pycache__`
rm -f `find . -type f -name '*.py[co]' `
rm -f `find . -type f -name '*~' `
rm -f `find . -type f -name '.*~' `
rm -f `find . -type f -name '@*' `
rm -f `find . -type f -name '#*#' `
rm -f `find . -type f -name '*.orig' `
rm -f `find . -type f -name '*.rej' `
rm -f .coverage
rm -rf htmlcov
|