From 754482bf5d4922f0553c281ac525daff3f446c22 Mon Sep 17 00:00:00 2001 From: Mura Li <typeless@users.noreply.github.com> Date: Tue, 20 Jun 2017 19:23:16 +0800 Subject: Add integration test for repository migration (#1983) --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3