vtgl

terminal emulator implemented in OpenGL
git clone anongit@rnpnr.xyz:vtgl.git
Log | Files | Refs | Feed | LICENSE

Commit: 40b0580e1fced6c85c299cea320cac4d59948e15
Parent: 6906d1aa493bb3da7630a7f61914060b8e1886a2
Author: Randy Palamar
Date:   Mon, 18 Nov 2024 20:11:16 -0700

move test.c to subdir and document some external tests

Diffstat:
Mbuild.sh | 2+-
Atests/external/README.md | 32++++++++++++++++++++++++++++++++
Rtest.c -> tests/test.c | 0
3 files changed, 33 insertions(+), 1 deletion(-)

diff --git a/build.sh b/build.sh @@ -40,4 +40,4 @@ testldflags="-lm -static" [ ${build_lib} ] && ${cc} ${cflags} -fPIC vtgl.c -o vtgl.so ${ldflags} -shared ${cc} ${cflags} -o vtgl platform_linux_x11.c ${ldflags} -${cc} ${testcflags} -o test test.c ${testldflags} +${cc} ${testcflags} -I. -o tests/test tests/test.c ${testldflags} diff --git a/tests/external/README.md b/tests/external/README.md @@ -0,0 +1,32 @@ +# External Programs + +## [`vttest`][] + +Offers a wide variety of tests mostly catered towards xterm. Most +of the tests are not really well documented without reading the +source code. The program is useful though once you decipher what +the test you are a looking at is trying to do. + +## [`wcwidth-browser.py`][] + +Lists all Unicode codepoints in a long table. Very useful to check +that your wide char support is correct. + +### Dependencies + +``` +emerge -1 dev-python/blessed dev-python/docopt dev-python/wcwidth +``` + +``` +pacman --asdeps python-blessed python-wcwidth +``` + +## [`ucs-detect`][] + +Automatically tests Unicode coverage including the esoteric "Zero +Width Joiner (ZWJ)" and "Variation Selector 16 (VS-16)". + +[`ucs-detect`]: https://github.com/jquast/ucs-detect +[`wcwidth-browser.py`]: https://github.com/jquast/wcwidth/blob/master/bin/wcwidth-browser.py +[`vttest`]: https://www.invisible-island.net/vttest/ diff --git a/test.c b/tests/test.c