Skip to content

Commit d8802b1

Browse files
typelesstechknowlogick
authored andcommitted
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
1 parent 0f54f42 commit d8802b1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,10 @@ test-vendor: vendor
204204
test-sqlite: integrations.sqlite.test
205205
GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/sqlite.ini ./integrations.sqlite.test
206206

207+
.PHONY: test-sqlite\#%
208+
test-sqlite\#%: integrations.sqlite.test
209+
GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/sqlite.ini ./integrations.sqlite.test -test.run $*
210+
207211
.PHONY: test-sqlite-migration
208212
test-sqlite-migration: migrations.sqlite.test
209213
GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/sqlite.ini ./migrations.sqlite.test

0 commit comments

Comments
 (0)