mirror of
https://github.com/Tarrasch/zsh-autoenv.git
synced 2024-11-22 07:20:59 +02:00
make test_full: use zsh 4 (/opt/zsh4/bin/zsh) and zsh 5
This commit is contained in:
parent
5275eb398d
commit
b725b5da9b
13
Makefile
13
Makefile
@ -12,11 +12,14 @@ itest:
|
|||||||
|
|
||||||
# Run tests with all ZDOTDIRs.
|
# Run tests with all ZDOTDIRs.
|
||||||
test_full:
|
test_full:
|
||||||
ret=0; \
|
for zsh in zsh /opt/zsh4/bin/zsh; do \
|
||||||
for i in $(wildcard tests/ZDOTDIR*); do \
|
command -v $$zsh || { echo "Skipping non-existing shell: $$zsh"; continue; }; \
|
||||||
echo "ZDOTDIR=$$i"; \
|
ret=0; \
|
||||||
ZDOTDIR=${CURDIR}/$$i cram --shell=zsh -v tests || ret=$$?; \
|
for i in $(wildcard tests/ZDOTDIR*); do \
|
||||||
echo; \
|
echo "zsh=$zsh ZDOTDIR=$$i"; \
|
||||||
|
SHELL=$$zsh ZDOTDIR=${CURDIR}/$$i cram --shell=zsh -v tests || ret=$$?; \
|
||||||
|
echo; \
|
||||||
|
done; \
|
||||||
done; \
|
done; \
|
||||||
return $$ret
|
return $$ret
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user