mirror of
https://github.com/Tarrasch/zsh-autoenv.git
synced 2024-11-26 00:40: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
7
Makefile
7
Makefile
@ -12,12 +12,15 @@ itest:
|
|||||||
|
|
||||||
# Run tests with all ZDOTDIRs.
|
# Run tests with all ZDOTDIRs.
|
||||||
test_full:
|
test_full:
|
||||||
|
for zsh in zsh /opt/zsh4/bin/zsh; do \
|
||||||
|
command -v $$zsh || { echo "Skipping non-existing shell: $$zsh"; continue; }; \
|
||||||
ret=0; \
|
ret=0; \
|
||||||
for i in $(wildcard tests/ZDOTDIR*); do \
|
for i in $(wildcard tests/ZDOTDIR*); do \
|
||||||
echo "ZDOTDIR=$$i"; \
|
echo "zsh=$zsh ZDOTDIR=$$i"; \
|
||||||
ZDOTDIR=${CURDIR}/$$i cram --shell=zsh -v tests || ret=$$?; \
|
SHELL=$$zsh ZDOTDIR=${CURDIR}/$$i cram --shell=zsh -v tests || ret=$$?; \
|
||||||
echo; \
|
echo; \
|
||||||
done; \
|
done; \
|
||||||
|
done; \
|
||||||
return $$ret
|
return $$ret
|
||||||
|
|
||||||
# Define targets for test files, with relative and abolute path.
|
# Define targets for test files, with relative and abolute path.
|
||||||
|
Loading…
Reference in New Issue
Block a user