Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.util.mk')
-rw-r--r--Makefile.util.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.util.mk b/Makefile.util.mk
index ff9ad16d..6fa4e319 100644
--- a/Makefile.util.mk
+++ b/Makefile.util.mk
@@ -23,9 +23,10 @@ bench: .GOPATH/.ok gitlab-pages
go test -bench=. -run=^$$ $(allpackages)
# The acceptance tests cannot count for coverage
-cover: bin/gocovmerge .GOPATH/.ok gitlab-pages
+cover: bin/gocovmerge gitlab-pages
@echo "NOTE: make cover does not exit 1 on failure, don't use it to check for tests success!"
$Q rm -f .GOPATH/cover/*.out .GOPATH/cover/all.merged
+ $Q mkdir -p .GOPATH/cover
$(if $V,@echo "-- go test -coverpkg=./... -coverprofile=.GOPATH/cover/... ./...")
@for MOD in $(allpackages); do \
go test \