diff --git a/scripts/test b/scripts/test index bd71213eb7..bf35e6656f 100755 --- a/scripts/test +++ b/scripts/test @@ -19,7 +19,7 @@ echo Packages: "${PACKAGES}" [ "${ARCH}" == "amd64" ] && RACE=-race if [ -n "${TESTS}" ]; then - go test -v "${RACE}" "${args[@]}" ${PACKAGES} -check.f "${TESTS}" + go test -v "${RACE}" "${args[@]}" ${PACKAGES} -check.f "${TESTS}" -coverprofile=coverage.out else - go test -v "${RACE}" "${args[@]}" ${PACKAGES} + go test -v "${RACE}" "${args[@]}" ${PACKAGES} -coverprofile=coverage.out fi