Jelajahi Sumber

codec: build.sh: support running go 1.4

Here, go test doesn't have vet integration

Updates #306
Ugorji Nwoke 6 tahun lalu
induk
melakukan
57b7e8461a
1 mengubah file dengan 1 tambahan dan 2 penghapusan
  1. 1 2
      codec/build.sh

+ 1 - 2
codec/build.sh

@@ -13,8 +13,7 @@ _tests() {
         echo ">>>> TAGS: $i"
         local i2=${i:-default}
         case $gover in
-            go1.[0-6]*) go vet -printfuncs "errorf" "$@" &&
-                              go test ${zargs[*]} -vet "$vet" -tags "$i" "$@" ;;
+            go1.[0-6]*) go test ${zargs[*]} -tags "$i" "$@" ;;
             *) go vet -printfuncs "errorf" "$@" &&
                      go test ${zargs[*]} -vet "$vet" -tags "alltests $i" -run "Suite" -coverprofile "${i2// /-}.cov.out" "$@" ;;
         esac