Text file src/cmd/go/testdata/script/test_race_install.txt
1 [!race] skip 2 [short] skip 3 4 mkdir $WORKDIR/tmp/pkg 5 go install -race -pkgdir=$WORKDIR/tmp/pkg std 6 7 # Make sure go test -i -race doesn't rebuild cached packages 8 go test -race -pkgdir=$WORKDIR/tmp/pkg -i -v empty/pkg 9 cmp stderr stderr.txt 10 11 -- go.mod -- 12 module empty 13 14 go 1.16 15 -- pkg/pkg.go -- 16 package p 17 -- stderr.txt -- 18 go: -i flag is deprecated 19