Skip to content

Commit

Permalink
add -asan to go tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroshade committed Aug 3, 2022
1 parent 9c92586 commit 807cdf1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ci/scripts/go_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ set -ex

source_dir=${1}/go

testargs="-race"
testargs="-race -asan"
case "$(uname)" in
MINGW*)
# -race doesn't work on windows currently
# -asan and -race don't work on windows currently
testargs=""
;;
esac

if [[ "$(go env GOHOSTARCH)" = "s390x" ]]; then
testargs="" # -race not supported on s390x
testargs="" # -race and -asan not supported on s390x
fi

# Go static check (skipped in MinGW)
Expand Down

0 comments on commit 807cdf1

Please sign in to comment.