From 13b2f9111d8a1f50aa2b70bd23700550da360654 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Tue, 8 Nov 2016 14:42:58 -0800 Subject: [PATCH] Counting main package in tests --- tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests.sh b/tests.sh index 58ceb39..3ef2b4c 100755 --- a/tests.sh +++ b/tests.sh @@ -2,7 +2,7 @@ set -e pwd -go test -coverprofile=cover.out -v . +go test -coverprofile=main.cover.out -v . go test -coverprofile=utils.cover.out -v ./utils echo "mode: set" > coverage.out && cat *.cover.out | grep -v mode: | sort -r | \ awk '{if($1 != last) {print $0;last=$1}}' >> coverage.out