aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMura Li <typeless@users.noreply.github.com>2019-04-05 00:22:10 +0800
committertechknowlogick <matti@mdranta.net>2019-04-04 12:22:10 -0400
commitd8802b1298edac9ed78de85303fcd0d930a3fdb6 (patch)
tree9c723d9b2f85758fdd2709e666e407f7c90a65fa /Makefile
parent0f54f42646ca08a98b9b07ea069ff8e6236967d4 (diff)
downloadgitea-d8802b1298edac9ed78de85303fcd0d930a3fdb6.tar.gz
gitea-d8802b1298edac9ed78de85303fcd0d930a3fdb6.zip
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b8d156b76c..33ce665328 100644
--- a/Makefile
+++ b/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