Daniel Shahaf
343ec1061f
'make perf': Show only a cumulative datum per highligher, rather than per test file.
...
The overall per-highlighter duration should be less prone to random
noise than the multitude of per-test-file figures.
2020-05-04 17:48:47 +00:00
Daniel Shahaf
9e9885253a
test harness: Output the time information to the same place the test name was printed to.
2020-03-19 19:17:41 +00:00
Matthew Martin
dddea5d5dd
tests: Set harness variables local
2019-01-06 21:18:41 -06:00
Matthew Martin
d3678ec7a8
tests: Remove unused_highlight
2016-05-05 12:28:43 -05:00
Daniel Shahaf
30d8f92df2
test harness: Properly quote error message interpolations.
...
No functional change, except that error messages are now more readable.
2016-01-20 22:02:25 +00:00
Daniel Shahaf
e60737d320
'make perf': Unbreak by porting over 'make test' harness changes.
...
In particular, tests were relying on the harness to provide a sandbox working
directory, but the perf harness wasn't providing that.
2015-11-18 17:52:46 +00:00
Julien Nicoulaud
0772ddd346
Big refactoring.
...
* Don't override user defined styles
* Better modularisation of highlighters
* Allow to define which highlighters are activated
* Allow to define the order in which they are defined
* Minor performance optimizations
* Fixed some variables leak
* Improve documentation
* Brackets highlighter: use ZSH_HIGHLIGHT_STYLES instead of a specific array
2011-06-12 22:57:14 +02:00
Julien Nicoulaud
ea792cbf87
Add a mechanism for testing the correctness of the highlighting.
...
Feel free to add more test data !
Signed-off-by: Julien Nicoulaud <julien.nicoulaud@gmail.com>
2011-01-10 23:46:27 +01:00