1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 10:57:55 +01:00

check return codes

This commit is contained in:
Jason N. 2024-03-15 18:08:29 -04:00
parent 5cc2f5cc2d
commit 9d326b1016
3 changed files with 4 additions and 2 deletions

View file

@ -42,6 +42,7 @@ run_tests = tests="$(shell ls tests/$(1)/$(2)_*)"; \
for test in $$tests; \
do \
$(foreach var,$(_VARS),$(var)=$($(var))) ./$${test}; \
RC=$$?; if [ $$RC != 0 ]; then exit $$RC; fi; \
done; \
fi