From 0f1d94d27e3a24b4a1e93e28dfae3dd1e5bb8436 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Mon, 1 Nov 2021 09:00:41 -0700 Subject: [PATCH] fix tests.sh --- testing/tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/tests.sh b/testing/tests.sh index 5c83d77..e2263fe 100755 --- a/testing/tests.sh +++ b/testing/tests.sh @@ -4,8 +4,8 @@ set -e pwd GORACE="haltonerror=1" go test -race ${1} -coverprofile=server.metrics.cover.out -v ./metrics -go test -race ${1} -coverprofile=server.metrics.cover.out -v ./storage -go test -race ${1} -coverprofile=server.metrics.cover.out -v ./ +go test -race ${1} -coverprofile=server.storage.cover.out -v ./storage +go test -race ${1} -coverprofile=server.cover.out -v ./ echo "mode: set" > coverage.out && cat *.cover.out | grep -v mode: | sort -r | \ awk '{if($1 != last) {print $0;last=$1}}' >> coverage.out rm -rf *.cover.out