Explorar o código

make test faster

Tao Wen %!s(int64=8) %!d(string=hai) anos
pai
achega
b46d0a2324
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      test.sh

+ 1 - 1
test.sh

@@ -4,7 +4,7 @@ set -e
 echo "" > coverage.txt
 
 for d in $(go list ./... | grep -v vendor); do
-    go test -race -coverprofile=profile.out -covermode=atomic $d
+    go test -coverprofile=profile.out $d
     if [ -f profile.out ]; then
         cat profile.out >> coverage.txt
         rm profile.out