From ffc4022c1ea2c2a5892150ff55e6c9a9ddbb8756 Mon Sep 17 00:00:00 2001 From: Scott Date: Tue, 11 Jan 2022 13:41:25 -0800 Subject: Fix a couple of bugs in executors. Use run_tests.sh as a pre commit hook. --- tests/run_tests.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/run_tests.sh') diff --git a/tests/run_tests.sh b/tests/run_tests.sh index e4b48a0..5711b9a 100755 --- a/tests/run_tests.sh +++ b/tests/run_tests.sh @@ -139,6 +139,8 @@ if [ ${FAILURES} -ne 0 ]; then fi echo "${FAILED_TESTS}" echo -e "${NC}" + exit ${FAILURES} else echo -e "${BLACK}${ON_GREEN}Everything looks good.${NC}" + exit 0 fi -- cgit v1.3