about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2018-10-14 20:37:33 +0200
committertoonn <toonn@toonn.io>2019-06-18 13:26:21 +0200
commit88b4d3747072db6e39fb44fff6055ba842b3203f (patch)
tree488a4a9993b6a91da3024ec6073207e09e2701cf /Makefile
parent85e1c59ab9f918a2437fda8161b68cc1934ef33e (diff)
downloadranger-88b4d3747072db6e39fb44fff6055ba842b3203f.tar.gz
Add test_py target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3f6e459d..0c2dbe46 100644
--- a/Makefile
+++ b/Makefile
@@ -52,6 +52,8 @@ help:
 	@echo 'make test_flake8:     Test using flake8'
 	@echo 'make test_doctest:    Test using doctest'
 	@echo 'make test_pytest:     Test using pytest'
+	@echo 'make test_other:      Verify the manpage is complete'
+	@echo 'make test_py:         Run all python tests, including manpage completeness'
 	@echo 'make test_shellcheck: Test using shellcheck'
 	@echo 'make todo:            Look for TODO and XXX markers in the source code'
 
@@ -109,6 +111,9 @@ test_pytest:
 	@echo "Running py.test tests..."
 	py.test tests
 
+test_py: test_pylint test_flake8 test_doctest test_pytest test_other
+	@echo "Finished python and documentation tests..."
+
 test_shellcheck:
 	@echo "Running shellcheck..."
 	sed '2,$$s/^\( *\)#/\1/' ./ranger/data/scope.sh | shellcheck -a -