Exit from the testing loop with an error in case of failed test.

Fixes #974
pull/977/head
Jesse Vincent 4 years ago
parent 4ca0e94af9
commit a61765e630
No known key found for this signature in database
GPG Key ID: CC228463465E40BC

@ -17,7 +17,7 @@ generate-testcases:
all: ${TESTS} all: ${TESTS}
@for test in ${TESTS}; do \ @for test in ${TESTS}; do \
${MAKE} -s -f ${top_dir}/testing/makefiles/testcase.mk -C $${test} top_dir=${top_dir} testcase=$${test} run; \ ${MAKE} -s -f ${top_dir}/testing/makefiles/testcase.mk -C $${test} top_dir=${top_dir} testcase=$${test} run; \
done done || exit 1
cmake-clean: cmake-clean:
rm -rf "${top_dir}/testing/googletest/build/*" rm -rf "${top_dir}/testing/googletest/build/*"

Loading…
Cancel
Save