Browse Source

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
release/v1.9
Mura Li 4 years ago
committed by techknowlogick
parent
commit
d8802b1298
  1. 4
      Makefile

4
Makefile

@ -204,6 +204,10 @@ test-vendor: vendor
test-sqlite: 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
test-sqlite-migration: migrations.sqlite.test
GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/sqlite.ini ./migrations.sqlite.test

Loading…
Cancel
Save