diff options
Diffstat (limited to 'tests/Makefile')
| -rw-r--r-- | tests/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile index 1556475..65e1117 100644 --- a/tests/Makefile +++ b/tests/Makefile | |||
| @@ -1,11 +1,15 @@ | |||
| 1 | include ../git/config.mak.uname | ||
| 2 | -include ../cgit.conf | ||
| 1 | 3 | ||
| 4 | SHELL_PATH ?= $(SHELL) | ||
| 5 | SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH)) | ||
| 2 | 6 | ||
| 3 | T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh) | 7 | T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh) |
| 4 | 8 | ||
| 5 | all: $(T) | 9 | all: $(T) |
| 6 | 10 | ||
| 7 | $(T): | 11 | $(T): |
| 8 | @./$@ $(CGIT_TEST_OPTS) | 12 | @'$(SHELL_PATH_SQ)' $@ $(CGIT_TEST_OPTS) |
| 9 | 13 | ||
| 10 | clean: | 14 | clean: |
| 11 | $(RM) -rf trash | 15 | $(RM) -rf trash |
