Skip to content

Commit

Permalink
Manually set test script exit code (pwndbg#2199)
Browse files Browse the repository at this point in the history
  • Loading branch information
gsingh93 authored May 30, 2024
1 parent c85d16b commit 6937566
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# Run integration tests
(cd tests/gdb-tests && python3 tests.py $@)
exit_code=$?

COV=0
# Run unit tests
Expand All @@ -17,3 +18,7 @@ if [ $COV -eq 1 ]; then
else
pytest tests/unit-tests
fi

exit_code=$((exit_code + $?))

exit $exit_code

0 comments on commit 6937566

Please sign in to comment.