summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-11-26 22:53:28 -0500
committerNed Batchelder <ned@nedbatchelder.com>2012-11-26 22:53:28 -0500
commit4c2723e8c801f17f06f3b43c0a4fc4b56f652fbf (patch)
treee0fd2aabfa2b01045e8973bd4b563acbf13a05cb
parentf3919bfc23f577d417f8464fc1d48e0e20c0886a (diff)
downloadpython-coveragepy-git-4c2723e8c801f17f06f3b43c0a4fc4b56f652fbf.tar.gz
Bring the Makefile into the modern testing era
-rw-r--r--Makefile19
1 files changed, 5 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index d5827238..f4af63da 100644
--- a/Makefile
+++ b/Makefile
@@ -37,21 +37,12 @@ lint:
pep8:
pep8 --filename=*.py --ignore=E401,E301 --repeat coverage
-testready: testdata devinst
+tests:
+ tox -e py27
-tests: testready
- nosetests
-
-testdata: $(TEST_ZIP) $(TEST_EGG)
-$(TEST_ZIP): test/covmodzip1.py
- zip -j $@ $+
-
-$(TEST_EGG): test/eggsrc/setup.py test/eggsrc/egg1/egg1.py
- cd test/eggsrc; python setup.py -q bdist_egg
-
-covcov: testready
- python test/meta_coverage.py run
- python test/meta_coverage.py report
+metacov:
+ COVERAGE_COVERAGE=yes tox
+ python igor.py combine_html
# Kitting