Merge pull request #553 from dpw/makefile-cleanups

Makefile cleanups
This commit is contained in:
rade committed 2015-04-13 21:05:32 +01:00
commit 9833747fd9
1 file changed
+1 -1
+1 -1
View File
@@ -70,7 +70,7 @@ $(DOCKER_DISTRIB):
tests:
echo "mode: count" > profile.cov
for dir in $$(find . -type f -name '*_test.go' | xargs -n1 dirname | sort -u); do \
output=$$(tempfile -p cover); \
output=$$(mktemp cover.XXXXXXXXXX); \
go test -tags netgo -covermode=count -coverprofile=$$output $$dir; \
if [ -f $$output ]; then \
tail -n +2 <$$output >>profile.cov; \