← Jobs
failure

test ant/term ↗

main @ 634c144534395a7fe1293bb0d9840b9fd6ecfbe2 · pipeline test #58 → · 2 more pipelines from this commit →
started 18 Sep 2026 19:04 UTC · ran for
10s, success 9s, success 10s, success 10s, success 12s, success 13s, success 13s, success 12s, success 12s, success 12s, success avg 11s ± 1s over the last 10 runs
test: tie bce's terminfo declaration directly to its actual behavior The declared-vs-omitted capability lists in this file are two independently hand-maintained facts about the same code -- exactly how bce drifted stale last time: this file asserted bce was *absent* with a comment claiming erase ops always fill with COLOR_DEFAULT, which quietly went wrong the moment blank_cell(g) started filling with the active background instead, and nothing caught it until it corrupted a real nvim session. Adds a test that performs an actual erase with an active background, checks whether the result behaves bce-style, and asserts the declaration matches that behavior rather than checking them as separate claims. Verified it fails when the two are put out of sync (temporarily undeclaring bce against unchanged behavior) and passes once they agree again.
$ test failure · exit 1 · raw
++ mktemp -d
+ checkout=/tmp/tmp.6uX2KSTEZD
+ trap 'rm -rf "$checkout"' EXIT
+ cp -R /var/lib/ci-tron/sources/8a5d7392dbce311f/. /tmp/tmp.6uX2KSTEZD
+ cd /tmp/tmp.6uX2KSTEZD
+ nix develop --command odin test . -all-packages
GC Warning: Could not open /proc/stat
[INFO ] --- [2026-09-18 19:04:25] Starting test runner with 12 threads. Set with -define:ODIN_TEST_THREADS=n.
[INFO ] --- [2026-09-18 19:04:25] The random seed sent to every test is: 1231639387034184. Set with -define:ODIN_TEST_RANDOM_SEED=n.
[INFO ] --- [2026-09-18 19:04:25] Memory tracking is enabled. Tests will log their memory usage if there's an issue.
[INFO ] --- [2026-09-18 19:04:25] < Final Mem/ Total Mem> < Peak Mem> (#Free/Alloc) :: [package.test_name]
term: --class requires an argument
usage: term [--class <app_id>] [--working-directory <dir>] [-e <command> [args...]]
term: -e requires a command
usage: term [--class <app_id>] [--working-directory <dir>] [-e <command> [args...]]
term: --working-directory requires an argument
usage: term [--class <app_id>] [--working-directory <dir>] [-e <command> [args...]]
term: unknown flag "--bogus"
usage: term [--class <app_id>] [--working-directory <dir>] [-e <command> [args...]]
[ERROR] --- [2026-09-18 19:04:25] [terminfo_test.odin:335:test_terminfo_source_infocmp_round_trip()] expected state.exit_code == 0 to be true
[ERROR] --- [2026-09-18 19:04:25] [terminfo_test.odin:336:test_terminfo_source_infocmp_round_trip()] expected strings.contains(string(stdout), "smacs") to be true
[ERROR] --- [2026-09-18 19:04:25] [terminfo_test.odin:337:test_terminfo_source_infocmp_round_trip()] expected strings.contains(string(stdout), "setaf") to be true
[ERROR] --- [2026-09-18 19:04:25] [terminfo_test.odin:357:test_terminfo_source_tput_longname()] expected state.exit_code == 0 to be true
[ERROR] --- [2026-09-18 19:04:25] [terminfo_test.odin:358:test_terminfo_source_tput_longname()] expected strings.contains(string(stdout), "term terminal emulator with 256 colors") to be true
Finished 311 tests in 937.448843ms. 2 tests failed.
- main.test_terminfo_source_infocmp_round_trip expected strings.contains(string(stdout), "setaf") to be true
- main.test_terminfo_source_tput_longname expected strings.contains(string(stdout), "term terminal emulator with 256 colors") to be true
To run only the failed tests, use:
-define:ODIN_TEST_NAMES=main.test_terminfo_source_infocmp_round_trip,main.test_terminfo_source_tput_longname,
If your terminal supports OSC 52, you may use -define:ODIN_TEST_CLIPBOARD to have this copied directly to your clipboard.
+ rm -rf /tmp/tmp.6uX2KSTEZD
Artifacts

no artifacts