Browse Source

test: log gocovmerge merging

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee 8 years ago
parent
commit
f97233d206
1 changed files with 1 additions and 0 deletions
  1. 1 0
      test

+ 1 - 0
test

@@ -202,6 +202,7 @@ function cov_pass {
 	# expects to start with a non-empty file
 	# expects to start with a non-empty file
 	cp "$COVERDIR"/etcdserver.coverprofile "$COVERDIR"/cover.out
 	cp "$COVERDIR"/etcdserver.coverprofile "$COVERDIR"/cover.out
 	for f in "$COVERDIR"/*.coverprofile; do
 	for f in "$COVERDIR"/*.coverprofile; do
+		echo "merging test coverage file ${f}"
 		gocovmerge "$f" "$COVERDIR"/cover.out  >"$COVERDIR"/cover.tmp || failed="$failed $f"
 		gocovmerge "$f" "$COVERDIR"/cover.out  >"$COVERDIR"/cover.tmp || failed="$failed $f"
 		if [ -s "$COVERDIR"/cover.tmp ]; then
 		if [ -s "$COVERDIR"/cover.tmp ]; then
 			mv "$COVERDIR"/cover.tmp "$COVERDIR"/cover.out
 			mv "$COVERDIR"/cover.tmp "$COVERDIR"/cover.out