mirror of
https://github.com/Tarrasch/zsh-autoenv.git
synced 2025-12-17 03:25:12 +02:00
tests: cleanup test_full (#86)
Changes tests/varstash_export.t to use `$TESTSHELL` provided by cram.
This commit is contained in:
13
Makefile
13
Makefile
@@ -13,14 +13,11 @@ itest:
|
||||
|
||||
# Run tests with all ZDOTDIRs.
|
||||
test_full:
|
||||
for zsh in zsh /opt/zsh-4.3.9/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; \
|
||||
@ret=0; \
|
||||
for i in $(wildcard tests/ZDOTDIR*); do \
|
||||
echo "TEST_SHELL=$(TEST_SHELL) ZDOTDIR=$$i"; \
|
||||
ZDOTDIR=${CURDIR}/$$i cram --shell=$(TEST_SHELL) -v tests || ret=$$?; \
|
||||
echo; \
|
||||
done; \
|
||||
exit $$ret
|
||||
|
||||
|
||||
Reference in New Issue
Block a user