summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMura Li <typeless@users.noreply.github.com>2017-06-20 19:23:16 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2017-06-20 19:23:16 +0800
commit754482bf5d4922f0553c281ac525daff3f446c22 (patch)
treeff665e299196aa3ccd71a6aaa2a6c7bc6354717b /Makefile
parent75f166b6b9dc51d48b94006e82051c41247605ab (diff)
downloadgitea-754482bf5d4922f0553c281ac525daff3f446c22.tar.gz
gitea-754482bf5d4922f0553c281ac525daff3f446c22.zip
Add integration test for repository migration (#1983)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 70018cd554..659af47f43 100644
--- a/Makefile
+++ b/Makefile
@@ -164,6 +164,20 @@ test-mysql: integrations.test
test-pgsql: integrations.test
GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/pgsql.ini ./integrations.test
+
+.PHONY: bench-sqlite
+bench-sqlite: integrations.sqlite.test
+ GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/sqlite.ini ./integrations.sqlite.test -test.bench .
+
+.PHONY: bench-mysql
+bench-mysql: integrations.test
+ GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/mysql.ini ./integrations.test -test.bench .
+
+.PHONY: bench-pgsql
+bench-pgsql: integrations.test
+ GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/pgsql.ini ./integrations.test -test.bench .
+
+
.PHONY: integration-test-coverage
integration-test-coverage: integrations.cover.test
GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/mysql.ini ./integrations.cover.test -test.coverprofile=integration.coverage.out