summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2020-02-15 18:35:56 +0100
committerGiampaolo Rodola <g.rodola@gmail.com>2020-02-15 18:35:56 +0100
commit766541fe9501373eea1ea2e77b865be9ed572cc7 (patch)
tree8972f2cfa4e92499dcc863215bfd4634c906c91f /Makefile
parent3424a1a6f8f91292eca6373ba0cd3fb5170c1648 (diff)
downloadpsutil-766541fe9501373eea1ea2e77b865be9ed572cc7.tar.gz
get rid of pip_install() code for py2; move everything in runner.py
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 812ba9c2..0dadfca3 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
# You can set the variables below from the command line.
PYTHON = python3
-TSCRIPT = psutil/tests/__main__.py
+TSCRIPT = psutil/tests/runner.py
ARGS =
# List of nice-to-have dev libs.
DEPS = \
@@ -155,7 +155,7 @@ test-by-name: ## e.g. make test-by-name ARGS=psutil.tests.test_system.TestSyste
test-failed: ## Re-run tests which failed on last run
${MAKE} install
- $(TEST_PREFIX) $(PYTHON) -c "import psutil.tests.runner as r; r.run(last_failed=True)"
+ $(TEST_PREFIX) $(PYTHON) $(TSCRIPT) --last-failed
test-coverage: ## Run test coverage.
${MAKE} install