From bfe7d26a354eb03fca9ec640acb7a41df138fc0c Mon Sep 17 00:00:00 2001 From: v2ray Date: Thu, 4 Feb 2016 17:34:26 +0100 Subject: [PATCH] fix coverall script again --- testing/coverage/coverall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/coverage/coverall b/testing/coverage/coverall index 774f6937b..87fc15624 100755 --- a/testing/coverage/coverall +++ b/testing/coverage/coverall @@ -7,7 +7,7 @@ function test_package { DIR="github.com/v2ray/v2ray-core/$1" DEP=$(go list -f '{{ join .Deps "\n" }}' $DIR | grep v2ray | tr '\n' ',') DEP=${DEP}$DIR - go test -tags json -covermod=atomic -coverprofile=coversingle.out -coverpkg=$DEP $DIR || FAIL=1 + go test -tags json -coverprofile=coversingle.out -coverpkg=$DEP $DIR || FAIL=1 if [ -f coversingle.out ]; then cat coversingle.out | grep -v "mode: set" >> ${COVERAGE_FILE} rm coversingle.out