Skip to content

Commit 41d90cb

Browse files
committed
make test: Run tests under env -i
This makes the tests more reproducable. In particular it avoids hiding a WARN_CREATE_GLOBAL error when the dev happens to have defined that variable in the environment (cf. next commit).
1 parent 34df84a commit 41d90cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ test:
4141
for test in highlighters/*; do \
4242
if [ -d $$test/test-data ]; then \
4343
echo "Running test $${test##*/}"; \
44-
$(ZSH) -f tests/test-highlighting.zsh "$${test##*/}"; \
44+
env -i QUIET=$$QUIET $(ZSH) -f tests/test-highlighting.zsh "$${test##*/}"; \
4545
: $$(( result |= $$? )); \
4646
fi \
4747
done; \

0 commit comments

Comments
 (0)