From 88b4d3747072db6e39fb44fff6055ba842b3203f Mon Sep 17 00:00:00 2001 From: toonn Date: Sun, 14 Oct 2018 20:37:33 +0200 Subject: Add test_py target --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') 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 - -- cgit 1.4.1-2-gfad0