@@ -502,11 +502,11 @@ generate-ini-sqlite:
502502 tests/sqlite.ini.tmpl > tests/sqlite.ini
503503
504504.PHONY : test-sqlite
505- test-sqlite : integrations.sqlite.test generate-ini-sqlite
505+ test-sqlite : integrations.sqlite.test generate-ini-sqlite backend
506506 GITEA_ROOT=" $( CURDIR) " GITEA_CONF=tests/sqlite.ini ./integrations.sqlite.test
507507
508508.PHONY : test-sqlite\# %
509- test-sqlite\#% : integrations.sqlite.test generate-ini-sqlite
509+ test-sqlite\#% : integrations.sqlite.test generate-ini-sqlite backend
510510 GITEA_ROOT=" $( CURDIR) " GITEA_CONF=tests/sqlite.ini ./integrations.sqlite.test -test.run $(subst .,/,$* )
511511
512512.PHONY : test-sqlite-migration
@@ -523,11 +523,11 @@ generate-ini-mysql:
523523 tests/mysql.ini.tmpl > tests/mysql.ini
524524
525525.PHONY : test-mysql
526- test-mysql : integrations.mysql.test generate-ini-mysql
526+ test-mysql : integrations.mysql.test generate-ini-mysql backend
527527 GITEA_ROOT=" $( CURDIR) " GITEA_CONF=tests/mysql.ini ./integrations.mysql.test
528528
529529.PHONY : test-mysql\# %
530- test-mysql\#% : integrations.mysql.test generate-ini-mysql
530+ test-mysql\#% : integrations.mysql.test generate-ini-mysql backend
531531 GITEA_ROOT=" $( CURDIR) " GITEA_CONF=tests/mysql.ini ./integrations.mysql.test -test.run $(subst .,/,$* )
532532
533533.PHONY : test-mysql-migration
@@ -546,11 +546,11 @@ generate-ini-pgsql:
546546 tests/pgsql.ini.tmpl > tests/pgsql.ini
547547
548548.PHONY : test-pgsql
549- test-pgsql : integrations.pgsql.test generate-ini-pgsql
549+ test-pgsql : integrations.pgsql.test generate-ini-pgsql backend
550550 GITEA_ROOT=" $( CURDIR) " GITEA_CONF=tests/pgsql.ini ./integrations.pgsql.test
551551
552552.PHONY : test-pgsql\# %
553- test-pgsql\#% : integrations.pgsql.test generate-ini-pgsql
553+ test-pgsql\#% : integrations.pgsql.test generate-ini-pgsql backend
554554 GITEA_ROOT=" $( CURDIR) " GITEA_CONF=tests/pgsql.ini ./integrations.pgsql.test -test.run $(subst .,/,$* )
555555
556556.PHONY : test-pgsql-migration
@@ -567,11 +567,11 @@ generate-ini-mssql:
567567 tests/mssql.ini.tmpl > tests/mssql.ini
568568
569569.PHONY : test-mssql
570- test-mssql : integrations.mssql.test generate-ini-mssql
570+ test-mssql : integrations.mssql.test generate-ini-mssql backend
571571 GITEA_ROOT=" $( CURDIR) " GITEA_CONF=tests/mssql.ini ./integrations.mssql.test
572572
573573.PHONY : test-mssql\# %
574- test-mssql\#% : integrations.mssql.test generate-ini-mssql
574+ test-mssql\#% : integrations.mssql.test generate-ini-mssql backend
575575 GITEA_ROOT=" $( CURDIR) " GITEA_CONF=tests/mssql.ini ./integrations.mssql.test -test.run $(subst .,/,$* )
576576
577577.PHONY : test-mssql-migration
@@ -622,27 +622,27 @@ test-e2e-mssql\#%: playwright e2e.mssql.test generate-ini-mssql
622622 GITEA_ROOT=" $( CURDIR) " GITEA_CONF=tests/mssql.ini ./e2e.mssql.test -test.run TestE2e/$*
623623
624624.PHONY : bench-sqlite
625- bench-sqlite : integrations.sqlite.test generate-ini-sqlite
625+ bench-sqlite : integrations.sqlite.test generate-ini-sqlite backend
626626 GITEA_ROOT=" $( CURDIR) " GITEA_CONF=tests/sqlite.ini ./integrations.sqlite.test -test.cpuprofile=cpu.out -test.run DontRunTests -test.bench .
627627
628628.PHONY : bench-mysql
629- bench-mysql : integrations.mysql.test generate-ini-mysql
629+ bench-mysql : integrations.mysql.test generate-ini-mysql backend
630630 GITEA_ROOT=" $( CURDIR) " GITEA_CONF=tests/mysql.ini ./integrations.mysql.test -test.cpuprofile=cpu.out -test.run DontRunTests -test.bench .
631631
632632.PHONY : bench-mssql
633- bench-mssql : integrations.mssql.test generate-ini-mssql
633+ bench-mssql : integrations.mssql.test generate-ini-mssql backend
634634 GITEA_ROOT=" $( CURDIR) " GITEA_CONF=tests/mssql.ini ./integrations.mssql.test -test.cpuprofile=cpu.out -test.run DontRunTests -test.bench .
635635
636636.PHONY : bench-pgsql
637- bench-pgsql : integrations.pgsql.test generate-ini-pgsql
637+ bench-pgsql : integrations.pgsql.test generate-ini-pgsql backend
638638 GITEA_ROOT=" $( CURDIR) " GITEA_CONF=tests/pgsql.ini ./integrations.pgsql.test -test.cpuprofile=cpu.out -test.run DontRunTests -test.bench .
639639
640640.PHONY : integration-test-coverage
641- integration-test-coverage : integrations.cover.test generate-ini-mysql
641+ integration-test-coverage : integrations.cover.test generate-ini-mysql backend
642642 GITEA_ROOT=" $( CURDIR) " GITEA_CONF=tests/mysql.ini ./integrations.cover.test -test.coverprofile=integration.coverage.out
643643
644644.PHONY : integration-test-coverage-sqlite
645- integration-test-coverage-sqlite : integrations.cover.sqlite.test generate-ini-sqlite
645+ integration-test-coverage-sqlite : integrations.cover.sqlite.test generate-ini-sqlite backend
646646 GITEA_ROOT=" $( CURDIR) " GITEA_CONF=tests/sqlite.ini ./integrations.cover.sqlite.test -test.coverprofile=integration.coverage.out
647647
648648integrations.mysql.test : git-check $(GO_SOURCES )
@@ -664,22 +664,22 @@ integrations.cover.sqlite.test: git-check $(GO_SOURCES)
664664 $(GO ) test $(GOTESTFLAGS ) -c code.gitea.io/gitea/tests/integration -coverpkg $(shell echo $(GO_TEST_PACKAGES ) | tr ' ' ',') -o integrations.cover.sqlite.test -tags ' $(TEST_TAGS)'
665665
666666.PHONY : migrations.mysql.test
667- migrations.mysql.test : $(GO_SOURCES ) generate-ini-mysql
667+ migrations.mysql.test : $(GO_SOURCES ) generate-ini-mysql backend
668668 $(GO ) test $(GOTESTFLAGS ) -c code.gitea.io/gitea/tests/integration/migration-test -o migrations.mysql.test
669669 GITEA_ROOT=" $( CURDIR) " GITEA_CONF=tests/mysql.ini ./migrations.mysql.test
670670
671671.PHONY : migrations.pgsql.test
672- migrations.pgsql.test : $(GO_SOURCES ) generate-ini-pgsql
672+ migrations.pgsql.test : $(GO_SOURCES ) generate-ini-pgsql backend
673673 $(GO ) test $(GOTESTFLAGS ) -c code.gitea.io/gitea/tests/integration/migration-test -o migrations.pgsql.test
674674 GITEA_ROOT=" $( CURDIR) " GITEA_CONF=tests/pgsql.ini ./migrations.pgsql.test
675675
676676.PHONY : migrations.mssql.test
677- migrations.mssql.test : $(GO_SOURCES ) generate-ini-mssql
677+ migrations.mssql.test : $(GO_SOURCES ) generate-ini-mssql backend
678678 $(GO ) test $(GOTESTFLAGS ) -c code.gitea.io/gitea/tests/integration/migration-test -o migrations.mssql.test
679679 GITEA_ROOT=" $( CURDIR) " GITEA_CONF=tests/mssql.ini ./migrations.mssql.test
680680
681681.PHONY : migrations.sqlite.test
682- migrations.sqlite.test : $(GO_SOURCES ) generate-ini-sqlite
682+ migrations.sqlite.test : $(GO_SOURCES ) generate-ini-sqlite backend
683683 $(GO ) test $(GOTESTFLAGS ) -c code.gitea.io/gitea/tests/integration/migration-test -o migrations.sqlite.test -tags ' $(TEST_TAGS)'
684684 GITEA_ROOT=" $( CURDIR) " GITEA_CONF=tests/sqlite.ini ./migrations.sqlite.test
685685
0 commit comments