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
for-closed-social
Mura Li 5 years ago
committed by techknowlogick
parent
commit
d8802b1298
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      Makefile

+ 4
- 0
Makefile View File

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