summary refs log tree commit diff
path: root/www/git.causal.agency/cgit/tests/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-12-27 18:45:04 -0500
committerJune McEnroe <june@causal.agency>2020-12-27 18:45:35 -0500
commit7b715a386a625ea3cf92b1281a4392e2473b830a (patch)
tree9353eea94b35e91f229be03061835b8fb788570a /www/git.causal.agency/cgit/tests/Makefile
parentRemove 1sh (diff)
parentSquashed 'www/git.causal.agency/cgit/' content from commit 02221fd3 (diff)
downloadsrc-7b715a386a625ea3cf92b1281a4392e2473b830a.tar.gz
src-7b715a386a625ea3cf92b1281a4392e2473b830a.zip
Merge commit '85016e706cd00e527dba3fa83b2783dfb56a4ffa' as 'www/git.causal.agency/cgit'
From tag 'v1.2.3'.
Diffstat (limited to 'www/git.causal.agency/cgit/tests/Makefile')
-rw-r--r--www/git.causal.agency/cgit/tests/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/www/git.causal.agency/cgit/tests/Makefile b/www/git.causal.agency/cgit/tests/Makefile
new file mode 100644
index 00000000..65e11173
--- /dev/null
+++ b/www/git.causal.agency/cgit/tests/Makefile
@@ -0,0 +1,17 @@
+include ../git/config.mak.uname
+-include ../cgit.conf
+
+SHELL_PATH ?= $(SHELL)
+SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH))
+
+T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)
+
+all: $(T)
+
+$(T):
+	@'$(SHELL_PATH_SQ)' $@ $(CGIT_TEST_OPTS)
+
+clean:
+	$(RM) -rf trash
+
+.PHONY: $(T) clean