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:
authorJacob Vosmaer <jacob@gitlab.com>2018-03-07 14:23:56 +0300
committerJacob Vosmaer <jacob@gitlab.com>2018-03-08 19:03:09 +0300
commit1b45fd2c9a9d0e4bc39516c257115c6186d103b2 (patch)
tree48aa2d9da46f2941e4c5eec7ffc2f01d46b7b5ea /Makefile.util.mk
parenta7cc1032a847c0eb858d3869a48e9a686845e200 (diff)
Use godirwak.ReadDirents
Diffstat (limited to 'Makefile.util.mk')
-rw-r--r--Makefile.util.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.util.mk b/Makefile.util.mk
index 18f6b0ff..b5f8d739 100644
--- a/Makefile.util.mk
+++ b/Makefile.util.mk
@@ -17,6 +17,9 @@ complexity: .GOPATH/.ok bin/gocyclo
test: .GOPATH/.ok gitlab-pages
go test $(if $V,-v) -timeout=1m $(allpackages)
+bench: .GOPATH/.ok gitlab-pages
+ go test -bench=. -run=^$$ $(allpackages)
+
# The acceptance tests cannot count for coverage
cover: bin/gocovmerge .GOPATH/.ok
@echo "NOTE: make cover does not exit 1 on failure, don't use it to check for tests success!"