From 76359da58e3c3051ddcc4e4dcfcb0a87d0317bb1 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Wed, 14 Oct 2015 15:41:15 +0900 Subject: [PATCH] Apparently -race adds some stuff gocov doesn't like. Lets try this instead. --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index f7bdf9682..1bd946eec 100755 --- a/build.sh +++ b/build.sh @@ -111,7 +111,7 @@ case "${1:-default}" in godep go test -race -coverprofile=profile.out $dir if [ -f profile.out ] ; then # and if there was test output, append it to coverage.out - grep -v "mode: set" profile.out >> coverage.out + grep -v "mode: " profile.out >> coverage.out rm profile.out fi done