Skip to content

Commit

Permalink
Enable race detector
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Nov 3, 2019
1 parent 848e9fa commit 170af3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@

set -eou pipefail

export CGO_ENABLED=0
export CGO_ENABLED=1
export GO111MODULE=on
export GOFLAGS="-mod=vendor"

TARGETS=$(for d in "$@"; do echo ./$d/...; done)

echo "Running tests:"
go test -installsuffix "static" ${TARGETS}
go test -race -installsuffix "static" ${TARGETS}
echo

0 comments on commit 170af3a

Please sign in to comment.