diff options
author | Guido van Rossum <guido@google.com> | 2012-12-17 20:21:56 -0800 |
---|---|---|
committer | Guido van Rossum <guido@google.com> | 2012-12-17 20:21:56 -0800 |
commit | 4e0e1eebaa0e8c10d7f4a1d39bb0ca28fe88589a (patch) | |
tree | b6b68e66612e33bbe9a7c2c238e8151758d5597d /Makefile | |
parent | 3427a3918496ed391d47716af7945da362b1f045 (diff) | |
download | trollius-4e0e1eebaa0e8c10d7f4a1d39bb0ca28fe88589a.tar.gz |
Set up coverage.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,8 +1,17 @@ -PYTHON=python3.3 +PYTHON=python3 +COVERAGE=coverage3 +NONTESTS=`find tulip -name [a-z]\*.py ! -name \*_test.py` test: $(PYTHON) runtests.py -v +cov coverage: + $(COVERAGE) run runtests.py -v + $(COVERAGE) html $(NONTESTS) + $(COVERAGE) report -m $(NONTESTS) + echo "open file://`pwd`/htmlcov/index.html" + + main: $(PYTHON) main.py -v |