From 464e6121ef5d4b8f30238844278b60f061e0df35 Mon Sep 17 00:00:00 2001 From: Austin Shalit Date: Fri, 1 Dec 2023 20:53:57 -0800 Subject: [PATCH] [ci] Report failed status to Azure on failed tests (#2654) --- test-scripts/run-tests-on-robot.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test-scripts/run-tests-on-robot.sh b/test-scripts/run-tests-on-robot.sh index 32b66b5eaa..534eafd3a7 100755 --- a/test-scripts/run-tests-on-robot.sh +++ b/test-scripts/run-tests-on-robot.sh @@ -11,6 +11,8 @@ # There is one file (delploy-and-run-test-on-robot.sh) that is designed to # deploy this file along with the compiled tests for you. +set -e + # Configurable variables source config.sh @@ -114,7 +116,7 @@ fi /usr/local/natinst/etc/init.d/systemWebServer stop # Kill all running robot programs -killall java FRCUserProgram +killall java FRCUserProgram || true # If we are running with the -d argument move the test to the DEFAULT_TEST_DIR if [[ ! -e "${TEST_DIR}/${TEST_FILE}" ]]; then