'make test': Colorize output.

Color is only added when "make test"'s stdout is a tty.
This commit is contained in:
Daniel Shahaf
2015-10-26 14:24:45 +00:00
parent 557bb7e0c6
commit 4d3da30f8b
2 changed files with 68 additions and 1 deletions

View File

@@ -26,7 +26,7 @@ test:
$(ZSH) -f tests/test-highlighting.zsh "$${test##*/}"; \
: $$(( result |= $$? )); \
fi \
done; \
done | $(ZSH) -f tests/tap-colorizer.zsh; \
exit $$result
.PHONY: all install test