From be85f402915ab0f8527e2f125a0fb1d850a39c8e Mon Sep 17 00:00:00 2001 From: Julien Hachenberger Date: Tue, 24 Sep 2019 12:43:07 +0200 Subject: [PATCH] Recreate missing make targets Pull request #15 moved `check` and `test-is-correct` to test/makefile making them inaccessible by the main makefile. This commit recreates both targets again and simply passesthrough the calls to the corresponding sub makefile. Signed-off-by: Julien Hachenberger --- makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index 7e623bb..81b97b4 100644 --- a/makefile +++ b/makefile @@ -135,6 +135,14 @@ time: test: cd $(TESTDIR); $(MAKE) test +# Usual check routine. Run all tests using *both* python2 and python3. +check: + cd $(TESTDIR); $(MAKE) check + +# Run "make test-is-correct" if the results are as expected. +test-is-correct: + cd $(TESTDIR); $(MAKE) test-is-correct + profile: /usr/lib/python1.5/profile.py ./flawfinder > profile-results $(SAMPLE_DIR)/*/*.[ch] > profile-results @@ -180,7 +188,7 @@ show-cwes: cwe pylint: pylint flawfinder -.PHONY: install clean test profile rpm \ +.PHONY: install clean test check profile test-is-correct rpm \ uninstall distribute my-install show-cwes pylint # When I switch to using "DistUtils", I may need to move the MANIFEST.in