make test_full: use zsh 4 (/opt/zsh4/bin/zsh) and zsh 5

This commit is contained in:
Daniel Hahler 2015-04-23 19:54:44 +02:00
parent 5275eb398d
commit b725b5da9b
1 changed files with 8 additions and 5 deletions

View File

@ -12,11 +12,14 @@ itest:
# Run tests with all ZDOTDIRs.
test_full:
ret=0; \
for i in $(wildcard tests/ZDOTDIR*); do \
echo "ZDOTDIR=$$i"; \
ZDOTDIR=${CURDIR}/$$i cram --shell=zsh -v tests || ret=$$?; \
echo; \
for zsh in zsh /opt/zsh4/bin/zsh; do \
command -v $$zsh || { echo "Skipping non-existing shell: $$zsh"; continue; }; \
ret=0; \
for i in $(wildcard tests/ZDOTDIR*); do \
echo "zsh=$zsh ZDOTDIR=$$i"; \
SHELL=$$zsh ZDOTDIR=${CURDIR}/$$i cram --shell=zsh -v tests || ret=$$?; \
echo; \
done; \
done; \
return $$ret