mirror of
1
Fork 0

Add a new Make target for running single integration test (#6500)

* Add a new Make target for running single integration test

* Use # instead of - as the delimiter
This commit is contained in:
Mura Li 2019-04-05 00:22:10 +08:00 committed by techknowlogick
parent 0f54f42646
commit d8802b1298
1 changed files with 4 additions and 0 deletions

View File

@ -204,6 +204,10 @@ test-vendor: vendor
test-sqlite: integrations.sqlite.test test-sqlite: integrations.sqlite.test
GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/sqlite.ini ./integrations.sqlite.test GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/sqlite.ini ./integrations.sqlite.test
.PHONY: test-sqlite\#%
test-sqlite\#%: integrations.sqlite.test
GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/sqlite.ini ./integrations.sqlite.test -test.run $*
.PHONY: test-sqlite-migration .PHONY: test-sqlite-migration
test-sqlite-migration: migrations.sqlite.test test-sqlite-migration: migrations.sqlite.test
GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/sqlite.ini ./migrations.sqlite.test GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/sqlite.ini ./migrations.sqlite.test