From 6937566aa8251eeab23fee8c141cfc1145f4e7d7 Mon Sep 17 00:00:00 2001 From: Gulshan Singh Date: Wed, 29 May 2024 19:47:33 -0700 Subject: [PATCH] Manually set test script exit code (#2199) --- tests.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests.sh b/tests.sh index da45f7fee..5db5d874d 100755 --- a/tests.sh +++ b/tests.sh @@ -2,6 +2,7 @@ # Run integration tests (cd tests/gdb-tests && python3 tests.py $@) +exit_code=$? COV=0 # Run unit tests @@ -17,3 +18,7 @@ if [ $COV -eq 1 ]; then else pytest tests/unit-tests fi + +exit_code=$((exit_code + $?)) + +exit $exit_code