Manually set test script exit code (#2199)

This commit is contained in:
Gulshan Singh 2024-05-29 19:47:33 -07:00 committed by GitHub
parent c85d16b246
commit 6937566aa8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -2,6 +2,7 @@
# Run integration tests # Run integration tests
(cd tests/gdb-tests && python3 tests.py $@) (cd tests/gdb-tests && python3 tests.py $@)
exit_code=$?
COV=0 COV=0
# Run unit tests # Run unit tests
@ -17,3 +18,7 @@ if [ $COV -eq 1 ]; then
else else
pytest tests/unit-tests pytest tests/unit-tests
fi fi
exit_code=$((exit_code + $?))
exit $exit_code