tests: Add a 'print failures only' mode to 'make test', called 'make quiet-test'.
Fixes zsh-users/zsh-syntax-highlighting#262. Currently, 'make quiet-test' uses Perl. However, since it is considered a development tool rather than a user-facing tool, users and downstream packages needn't install Perl. Furthermore, even this dev-only dependency may be dropped in the future. The only difference between tests/tap-filter here and the one in the issue is using a `cat` subshell v. using 'undef $/; <STDIN>'.
This commit is contained in:
@@ -38,6 +38,9 @@ All tests may be run with
|
||||
make test
|
||||
|
||||
which will run all highlighting tests and report results in [TAP format][TAP].
|
||||
By default, the results of all tests will be printed; to show only "interesting"
|
||||
results (tests that failed but were expected to succeed, or vice-versa), run
|
||||
`make quiet-test` (or `make test QUIET=y`).
|
||||
|
||||
[TAP]: http://testanything.org/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user