From 7fdeba240c5475601fc53a5e1277ef9c73ab6e61 Mon Sep 17 00:00:00 2001 From: Steve Peak Date: Sat, 2 May 2015 08:28:46 -0500 Subject: [PATCH] remove changes to coverage file --- scripts/coverage.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/coverage.sh b/scripts/coverage.sh index d753e4a..e226660 100755 --- a/scripts/coverage.sh +++ b/scripts/coverage.sh @@ -8,12 +8,7 @@ echo "mode: atomic" > coverage.txt for d in $(find ./* -maxdepth 10 -type d); do if ls $d/*.go &> /dev/null; then - go test -coverprofile=profile.out -covermode=atomic $d - if [ -f profile.out ]; then - echo "$(pwd)" - cat profile.out | grep -v "mode: " >> coverage.txt - rm profile.out - fi + go test -covermode=atomic $d fi done