summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMura Li <typeless@users.noreply.github.com>2018-10-23 19:47:59 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2018-10-23 19:47:59 +0800
commit25c49cf930cb0add769c5596a7317ada1c5f9da7 (patch)
treeaa416e3bf7644875738945935fbceb5b50fe0510 /Makefile
parent2ce72d4e00cc7d2dbf3c445eb18c252c73f605e3 (diff)
downloadgitea-25c49cf930cb0add769c5596a7317ada1c5f9da7.tar.gz
gitea-25c49cf930cb0add769c5596a7317ada1c5f9da7.zip
Update build tags for sqlite_unlock_notify (#5144)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 28f52196ef..6f3779e30b 100644
--- a/Makefile
+++ b/Makefile
@@ -159,7 +159,7 @@ fmt-check:
.PHONY: test
test:
- $(GO) test -tags=sqlite $(PACKAGES)
+ $(GO) test -tags='sqlite sqlite_unlock_notify' $(PACKAGES)
.PHONY: coverage
coverage:
@@ -170,7 +170,7 @@ coverage:
.PHONY: unit-test-coverage
unit-test-coverage:
- for PKG in $(PACKAGES); do $(GO) test -tags=sqlite -cover -coverprofile $$GOPATH/src/$$PKG/coverage.out $$PKG || exit 1; done;
+ for PKG in $(PACKAGES); do $(GO) test -tags='sqlite sqlite_unlock_notify' -cover -coverprofile $$GOPATH/src/$$PKG/coverage.out $$PKG || exit 1; done;
.PHONY: vendor
vendor:
@@ -234,7 +234,7 @@ integrations.test: $(SOURCES)
$(GO) test -c code.gitea.io/gitea/integrations -o integrations.test
integrations.sqlite.test: $(SOURCES)
- $(GO) test -c code.gitea.io/gitea/integrations -o integrations.sqlite.test -tags 'sqlite'
+ $(GO) test -c code.gitea.io/gitea/integrations -o integrations.sqlite.test -tags 'sqlite sqlite_unlock_notify'
integrations.cover.test: $(SOURCES)
$(GO) test -c code.gitea.io/gitea/integrations -coverpkg $(shell echo $(PACKAGES) | tr ' ' ',') -o integrations.cover.test