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
tokarchuk/v1.17
Mura Li 6 years ago committed by techknowlogick
parent 0f54f42646
commit d8802b1298
  1. 4
      Makefile

@ -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

Loading…
Cancel
Save