summaryrefslogtreecommitdiff
path: root/src/run.bash
diff options
context:
space:
mode:
Diffstat (limited to 'src/run.bash')
-rwxr-xr-xsrc/run.bash5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/run.bash b/src/run.bash
index 3c9430c87..9a0e1cb0f 100755
--- a/src/run.bash
+++ b/src/run.bash
@@ -70,9 +70,10 @@ case "$GOHOSTOS-$GOOS-$GOARCH-$CGO_ENABLED" in
linux-linux-amd64-1 | freebsd-freebsd-amd64-1 | darwin-darwin-amd64-1)
echo
echo '# Testing race detector.'
- go test -race -i runtime/race flag
+ go test -race -i runtime/race flag os/exec
go test -race -run=Output runtime/race
- go test -race -short flag
+ go test -race -short flag os/exec
+ go test -race -short -ldflags=-linkmode=external flag os/exec
esac
xcd() {