runtime(syntax-tests): Introduce self tests for screen dumping

Write a batch of test files with made-up syntax to serve for
additional linewise checks to be manually performed whenever
the algorithm for screen dump file generation is modified.

Define a shell variable VIM_SYNTAX_SELF_TESTING to run these
tests:
	cd runtime/syntax/
	VIM_SYNTAX_SELF_TESTING=1 make clean test

related: #15150

Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Aliaksei Budavei
2024-05-24 19:14:16 +03:00
committed by Christian Brabandt
parent cc5482edb4
commit d2f4987999
132 changed files with 2421 additions and 6 deletions

View File

@ -0,0 +1,20 @@
>5+0&#ffffff0|3|.@29|r|u|l|e|r|.@37
|5|4|.@72
|5@1|.@72
|5|6|.@72
|5|7|.@72
|5|8|.@72
|5|9|.@72
|6|0|.@72
|6|1|.@72
|6|2|.@72
|6|3|.@72
|6|4|.@72
|6|5| @72
|~+0#4040ff13&| @73
|~| @73
|~| @73
|~| @73
|~| @73
|~| @73
| +0#0000000&@56|5|,|1| @10|B|o|t|