From 74b7f5b31a44fd5645a76c9c4303648467f2aab8 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 29 Sep 2013 21:28:11 +0100 Subject: Add support for running tests using tox to makefile --- makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index 692bf41..7de020e 100644 --- a/makefile +++ b/makefile @@ -1,7 +1,11 @@ .PHONY: test upload clean bootstrap setup -test: bootstrap - sh -c '. _virtualenv/bin/activate; nosetests -m'\''^$$'\'' `find tests -name '\''*.py'\''`' +test: + _virtualenv/bin/nosetests tests + +test-all: setup + _virtualenv/bin/tox + make clean upload: setup python setup.py sdist upload -- cgit v1.2.3