Allow for all tests to run with no_unset option, and use it via -u flag in makefile.

This commit is contained in:
Paul Ackersviller 2016-12-21 19:12:03 -05:00
commit 275943a3eb
5 changed files with 29 additions and 22 deletions

View file

@ -39,7 +39,7 @@ test:
for test in highlighters/*; do \
if [ -d $$test/test-data ]; then \
echo "Running test $${test##*/}"; \
$(ZSH) -f tests/test-highlighting.zsh "$${test##*/}"; \
$(ZSH) -fu tests/test-highlighting.zsh "$${test##*/}"; \
: $$(( result |= $$? )); \
fi \
done; \