29 Commits

Author SHA1 Message Date
Bryan Lee
cbb3f6f64f ci: add shellcheck linting for shell scripts
Add shellcheck to CI pipeline to ensure shell scripts follow best practices
and catch common errors. Fix existing shellcheck warnings in test scripts
to pass the new linting requirements.
2025-07-11 02:54:05 +08:00
Patrick Fong
8be80558c7 lint all Md files 2023-09-28 10:27:15 -07:00
Mitchell Hashimoto
e34c8958c2 test: update test cases from the setCursorPosition off-by-one fix 2022-07-25 17:21:59 -07:00
Mitchell Hashimoto
4f85c13d1b test: add wraptest 2022-07-25 08:23:50 -07:00
Mitchell Hashimoto
f11c82853f test: run-all runs in parallel 2022-07-24 16:47:47 -07:00
Mitchell Hashimoto
e66a4fcab6 test cases update since deccolm implemented 2022-07-24 16:35:18 -07:00
Mitchell Hashimoto
5c8c9d8e3c support DECCOLM
This gets vttest page 1 and page 2 now FULL passing.

We now crash on page 3. This is a lingering bug in our grid code
though and we need to find it anyways so we'll keep the crash in.
2022-07-24 16:06:04 -07:00
Mitchell Hashimoto
a3409ac70d erase line left should include cursor position 2022-07-24 09:53:21 -07:00
Mitchell Hashimoto
a43c63111f count = 0 implies 1 for all cursor movement, fixes one line of vttest 2022-07-24 09:38:38 -07:00
Mitchell Hashimoto
bf3d6617fe move test log up so it shows up on fail 2022-07-22 14:24:24 -07:00
Mitchell Hashimoto
12a864c3f2 test: use larger dimensions to avoid some crash 2022-07-22 14:17:15 -07:00
Mitchell Hashimoto
65c0472701 test: sort tests prior to running 2022-07-22 13:59:51 -07:00
Mitchell Hashimoto
180d4a3c41 test: colorize output 2022-07-22 13:42:53 -07:00
Mitchell Hashimoto
b4fc81564b xterm test cases 2022-07-22 10:10:51 -07:00
Mitchell Hashimoto
7e25585d5c update alacritty test cases 2022-07-22 10:09:03 -07:00
Mitchell Hashimoto
aca9077bed add all vttest screen 1s 2022-07-22 10:07:14 -07:00
Mitchell Hashimoto
6641fcbd4c add --font-size flag for font size in pixels 2022-07-21 21:35:49 -07:00
Mitchell Hashimoto
578679fb35 test: run-all.sh, hide i3bar for compare 2022-07-21 21:00:40 -07:00
Mitchell Hashimoto
6812f3f54a test: switch to Ubuntu for now
We can't use Alpine because we can't yet compile for musl.
2022-07-21 09:03:50 -07:00
Mitchell Hashimoto
ad2a795b9d test: start preparing to run ourselfs in the harness 2022-07-21 09:03:50 -07:00
Mitchell Hashimoto
1586afe64b remove unused 2022-07-21 09:03:50 -07:00
Mitchell Hashimoto
fd1b306c47 image outputs now contain the terminal name 2022-07-21 09:03:50 -07:00
Mitchell Hashimoto
ad0e1c150f test: fix vttest/1_1 2022-07-21 09:03:50 -07:00
Mitchell Hashimoto
aadf36bed9 test: vttest-1-1 2022-07-21 09:03:50 -07:00
Mitchell Hashimoto
9f619a46b2 test: compare the results and error 2022-07-21 09:03:49 -07:00
Mitchell Hashimoto
6d6e57facf test: run.sh also does compare 2022-07-21 09:03:49 -07:00
Mitchell Hashimoto
70a8245809 test: run from host 2022-07-21 09:03:49 -07:00
Mitchell Hashimoto
b04ade67aa Build vttest, improve runner 2022-07-21 09:03:49 -07:00
Mitchell Hashimoto
462291d80a start dockerfile and script for running a terminal and screenshotting it 2022-07-21 09:03:49 -07:00