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 <julien.hachenberger@sit.fraunhofer.de>
This commit is contained in:
Julien Hachenberger 2019-09-24 12:43:07 +02:00
parent 717d035206
commit be85f40291
No known key found for this signature in database
GPG Key ID: FFD8653ECDDD6B2C
1 changed files with 9 additions and 1 deletions

View File

@ -135,6 +135,14 @@ time:
test: test:
cd $(TESTDIR); $(MAKE) 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: profile:
/usr/lib/python1.5/profile.py ./flawfinder > profile-results $(SAMPLE_DIR)/*/*.[ch] > profile-results /usr/lib/python1.5/profile.py ./flawfinder > profile-results $(SAMPLE_DIR)/*/*.[ch] > profile-results
@ -180,7 +188,7 @@ show-cwes: cwe
pylint: pylint:
pylint flawfinder 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 uninstall distribute my-install show-cwes pylint
# When I switch to using "DistUtils", I may need to move the MANIFEST.in # When I switch to using "DistUtils", I may need to move the MANIFEST.in