test: fixup exit_code handling
Fixes:
@@ -186,6 +186,7 @@ runTests() {
set -x
2>&1 go test -timeout $TIMEOUT -v "${1:-./...}" | tee sponge_log.xml
cat sponge_log.log | /go/bin/go-junit-report -set-exit-code > sponge_log.xml
+ exit_code=$((exit_code + $?))
set +x
}
