Skip to content

Conversation

RamiSouai
Copy link
Member

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

  • Test your changes as thoroughly as possible before you commit them. Preferably, automate your test by unit/integration tests.
  • Make sure npm test runs for the whole project.

Signed-off-by: Rami Souai <rami.souai@iteratec.com>
@RamiSouai RamiSouai self-assigned this Mar 14, 2022
@RamiSouai RamiSouai added maintenance testing Improvements or additions regarding the test setup planned Issues we will do in the next sprint. labels Mar 14, 2022
To install node deps from /scanners instead of /tests/integration

Signed-off-by: Rami Souai <rami.souai@iteratec.com>
@Weltraumschaf Weltraumschaf self-requested a review March 16, 2022 14:56

integration-tests:
for dir in $(wildcard */.); do \
$(MAKE) integration-tests -C $$dir;\
Copy link
Member

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;\
Copy link
Member

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>
Weltraumschaf
Weltraumschaf previously approved these changes Mar 21, 2022
Signed-off-by: Rami Souai <rami.souai@iteratec.com>
@rseedorff rseedorff merged commit d98678c into main Mar 23, 2022
@rseedorff rseedorff deleted the maintenance/make-all-integration-tests branch March 23, 2022 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance planned Issues we will do in the next sprint. testing Improvements or additions regarding the test setup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants