]> git.cameronkatri.com Git - cgit.git/blobdiff - tests/Makefile
Bump version.
[cgit.git] / tests / Makefile
index 697e5a1c62cbd190e507f8bddc509c8ceab79b0c..65e111733803b2049e011ac44ff8dae15eeeba17 100644 (file)
@@ -1,11 +1,15 @@
+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