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:
authorNick Thomas <nick@gitlab.com>2018-03-22 21:25:24 +0300
committerNick Thomas <nick@gitlab.com>2018-03-23 20:33:57 +0300
commit8cfda639dbf6735896ca5849ee5671cea71d2986 (patch)
tree3d7e6de87b64f1ede66815ef77ed365722a31297 /Makefile.util.mk
parent6a521a1140afe9eff59dd2d6fd8b7b25bfd0994b (diff)
Run the acceptance tests both daemonized and not
Diffstat (limited to 'Makefile.util.mk')
-rw-r--r--Makefile.util.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.util.mk b/Makefile.util.mk
index 808e2607..ece6e3bb 100644
--- a/Makefile.util.mk
+++ b/Makefile.util.mk
@@ -14,9 +14,13 @@ lint: bin/golint
complexity: .GOPATH/.ok bin/gocyclo
$Q ./bin/gocyclo -over 9 $(allfiles)
+
test: .GOPATH/.ok gitlab-pages
go test $(if $V,-v) $(allpackages)
+acceptance: .GOPATH/.ok gitlab-pages
+ go test $(if $V,-v) $(IMPORT_PATH)
+
bench: .GOPATH/.ok gitlab-pages
go test -bench=. -run=^$$ $(allpackages)