4 ZDOTDIR="${PWD}/tests" cram --shell=zsh -v tests
7 ZDOTDIR="${PWD}/tests" cram -i --shell=zsh tests
9 # Define targets for test files, with relative and abolute path.
10 # Use verbose output, which is useful with Vim's 'errorformat'.
11 TESTS:=$(wildcard tests/*.t)
13 uniq = $(if $1,$(firstword $1) $(call uniq,$(filter-out $(firstword $1),$1)))
14 _TESTS_REL_AND_ABS:=$(call uniq,$(abspath $(TESTS)) $(TESTS))
15 $(_TESTS_REL_AND_ABS):
16 ZDOTDIR="${PWD}/tests" cram --shell=zsh -v $@
17 .PHONY: $(_TESTS_REL_AND_ABS)