@@ -293,7 +293,7 @@ test-check:
293
293
294
294
.PHONY : test\# %
295
295
test\#% :
296
- $(GO ) test -mod=vendor -tags=' sqlite sqlite_unlock_notify' -run $* $(GO_PACKAGES )
296
+ $(GO ) test -mod=vendor -tags=' sqlite sqlite_unlock_notify' -run $( subst .,/, $* ) $(GO_PACKAGES )
297
297
298
298
.PHONY : coverage
299
299
coverage :
@@ -322,7 +322,7 @@ test-sqlite: integrations.sqlite.test
322
322
323
323
.PHONY : test-sqlite\# %
324
324
test-sqlite\#% : integrations.sqlite.test
325
- GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/sqlite.ini ./integrations.sqlite.test -test.run $*
325
+ GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/sqlite.ini ./integrations.sqlite.test -test.run $( subst .,/, $* )
326
326
327
327
.PHONY : test-sqlite-migration
328
328
test-sqlite-migration : migrations.sqlite.test
@@ -341,7 +341,7 @@ test-mysql: integrations.mysql.test generate-ini-mysql
341
341
342
342
.PHONY : test-mysql\# %
343
343
test-mysql\#% : integrations.mysql.test generate-ini-mysql
344
- GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/mysql.ini ./integrations.mysql.test -test.run $*
344
+ GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/mysql.ini ./integrations.mysql.test -test.run $( subst .,/, $* )
345
345
346
346
.PHONY : test-mysql-migration
347
347
test-mysql-migration : migrations.mysql.test generate-ini-mysql
@@ -360,7 +360,7 @@ test-mysql8: integrations.mysql8.test generate-ini-mysql8
360
360
361
361
.PHONY : test-mysql8\# %
362
362
test-mysql8\#% : integrations.mysql8.test generate-ini-mysql8
363
- GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/mysql8.ini ./integrations.mysql8.test -test.run $*
363
+ GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/mysql8.ini ./integrations.mysql8.test -test.run $( subst .,/, $* )
364
364
365
365
.PHONY : test-mysql8-migration
366
366
test-mysql8-migration : migrations.mysql8.test generate-ini-mysql8
@@ -380,7 +380,7 @@ test-pgsql: integrations.pgsql.test generate-ini-pgsql
380
380
381
381
.PHONY : test-pgsql\# %
382
382
test-pgsql\#% : integrations.pgsql.test generate-ini-pgsql
383
- GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/pgsql.ini ./integrations.pgsql.test -test.run $*
383
+ GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/pgsql.ini ./integrations.pgsql.test -test.run $( subst .,/, $* )
384
384
385
385
.PHONY : test-pgsql-migration
386
386
test-pgsql-migration : migrations.pgsql.test generate-ini-pgsql
@@ -399,7 +399,7 @@ test-mssql: integrations.mssql.test generate-ini-mssql
399
399
400
400
.PHONY : test-mssql\# %
401
401
test-mssql\#% : integrations.mssql.test generate-ini-mssql
402
- GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/mssql.ini ./integrations.mssql.test -test.run $*
402
+ GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/mssql.ini ./integrations.mssql.test -test.run $( subst .,/, $* )
403
403
404
404
.PHONY : test-mssql-migration
405
405
test-mssql-migration : migrations.mssql.test generate-ini-mssql
0 commit comments