From 4c2723e8c801f17f06f3b43c0a4fc4b56f652fbf Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Mon, 26 Nov 2012 22:53:28 -0500 Subject: Bring the Makefile into the modern testing era --- Makefile | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.1