We weren't actually reporting out failed tests as an exit code when running simulator tests

f/automatic-build-nightly
Jesse Vincent 4 years ago
parent c5ac087390
commit 86c7a32ccc
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -34,8 +34,11 @@ all: ${TESTS} run-all
run-all: ${TESTS}
@for test in ${TESTS}; do \
${MAKE} -s -f ${top_dir}/testing/makefiles/testcase.mk -C $${test} testcase=$${test} run; \
done || exit 1
${MAKE} -s -f ${top_dir}/testing/makefiles/testcase.mk -C $${test} testcase=$${test} run || ERROR=$$?; \
done; \
if [ -n $${ERROR} ]; then exit $${ERROR}; fi
cmake-clean:
rm -rf "${top_dir}"/testing/googletest/build/*

Loading…
Cancel
Save