-
Notifications
You must be signed in to change notification settings - Fork 168
Added MakeFile to run all hook and scanner tests #1032
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Rami Souai <rami.souai@iteratec.com>
To install node deps from /scanners instead of /tests/integration Signed-off-by: Rami Souai <rami.souai@iteratec.com>
|
||
integration-tests: | ||
for dir in $(wildcard */.); do \ | ||
$(MAKE) integration-tests -C $$dir;\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if we need quoting for variable dir to prevent possible word splitting ("$$dir"
).
|
||
integration-tests: | ||
for dir in $(wildcard */.); do \ | ||
$(MAKE) integration-tests -C $$dir;\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if we need quoting for variable dir to prevent possible word splitting ("$$dir"
).
Signed-off-by: Rami Souai <rami.souai@iteratec.com>
Signed-off-by: Rami Souai <rami.souai@iteratec.com>
Signed-off-by: Rami Souai rami.souai@iteratec.com
Description
Part of #1027. Adds a new Makefile in /scanners and /hooks so that when in these directories, the command make integration-tests runs all the tests in the respective subdirectories.
Checklist
npm test
runs for the whole project.