1
0
mirror of https://github.com/Tarrasch/zsh-autoenv.git synced 2024-11-25 16:31:00 +02:00

make: fix calling tests files directly

This commit is contained in:
Daniel Hahler 2015-01-19 18:54:41 +01:00
parent 7a0a67a982
commit 392bca542c

View File

@ -21,7 +21,7 @@ TESTS:=$(wildcard tests/*.t)
uniq = $(if $1,$(firstword $1) $(call uniq,$(filter-out $(firstword $1),$1))) uniq = $(if $1,$(firstword $1) $(call uniq,$(filter-out $(firstword $1),$1)))
_TESTS_REL_AND_ABS:=$(call uniq,$(abspath $(TESTS)) $(TESTS)) _TESTS_REL_AND_ABS:=$(call uniq,$(abspath $(TESTS)) $(TESTS))
$(_TESTS_REL_AND_ABS): $(_TESTS_REL_AND_ABS):
ZDOTDIR="${CURDIR}/tests" cram --shell=zsh -v $@ cram --shell=zsh -v $@
.PHONY: $(_TESTS_REL_AND_ABS) .PHONY: $(_TESTS_REL_AND_ABS)
.PHONY: itest test .PHONY: itest test