Просмотр исходного кода

Apparently -race adds some stuff gocov doesn't like. Lets try this instead.

Jakob Borg 10 лет назад
Родитель
Сommit
76359da58e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      build.sh

+ 1 - 1
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