[Python-modules-commits] [python-psutil] 04/12: dont depend on install when running tests

Ondřej Nový onovy at moszumanska.debian.org
Sun Dec 11 17:25:31 UTC 2016


This is an automated email from the git hooks/post-receive script.

onovy pushed a commit to branch master
in repository python-psutil.

commit 8f5a6e6446ab23fba82bf5d178197d2892b06d4b
Author: Sandro Tosi <morph at debian.org>
Date:   Sun Apr 10 13:13:43 2016 +0100

    dont depend on install when running tests
---
 Makefile | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/Makefile b/Makefile
index c91d3b9..29fc528 100644
--- a/Makefile
+++ b/Makefile
@@ -116,36 +116,36 @@ setup-dev-env: install-git-hooks install-pip
 # ===================================================================
 
 # Run all tests.
-test: install
+test:
 	$(PYTHON) $(TSCRIPT)
 
 # Test psutil process-related APIs.
-test-process: install
+test-process:
 	$(PYTHON) -m unittest -v psutil.tests.test_process
 
 # Test psutil system-related APIs.
-test-system: install
+test-system:
 	$(PYTHON) -m unittest -v psutil.tests.test_system
 
 # Test misc.
-test-misc: install
+test-misc:
 	$(PYTHON) psutil/tests/test_misc.py
 
 # Test POSIX.
-test-posix: install
+test-posix:
 	$(PYTHON) psutil/tests/test_posix.py
 
 # Test memory leaks.
-test-memleaks: install
+test-memleaks:
 	$(PYTHON) psutil/tests/test_memory_leaks.py
 
 # Run specific platform tests only.
-test-platform: install
+test-platform:
 	$(PYTHON) psutil/tests/test_`$(PYTHON) -c 'import psutil; print([x.lower() for x in ("LINUX", "BSD", "OSX", "SUNOS", "WINDOWS") if getattr(psutil, x)][0])'`.py
 
 # Run a specific test by name, e.g.
 # make test-by-name psutil.tests.test_system.TestSystemAPIs.test_cpu_times
-test-by-name: install
+test-by-name:
 	@$(PYTHON) -m unittest -v $(ARGS)
 
 coverage: install

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-psutil.git



More information about the Python-modules-commits mailing list