Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 32 additions & 32 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 8 additions & 3 deletions crates/oxidelake-tui/tests/termlens_cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,15 @@ fn termlens_cli_inspect_drives_the_real_dashboard() {
assert!(screen.contains("[CUDA]"), "the plan tags its operators");
// The trailer goes to **stderr** since termlens 0.11 (termlens#340), so
// what stdout carries is a saved screen the tool reads back unedited.
// Which "still running" it is depends on what ended the wait: since
// termlens 0.11.3 (#374) a TUI that goes quiet for `--idle` is reported
// `still running (killed on exit)`, and only one that keeps printing
// until `--timeout` says `at the deadline`. Both mean it did not exit.
assert!(
String::from_utf8_lossy(&out.stderr).contains("still running at the deadline"),
"the dashboard is a TUI, so inspect reports the deadline rather than \
an exit — a binary that fell out of the event loop would say so here: {}",
String::from_utf8_lossy(&out.stderr).contains("still running"),
"the dashboard is a TUI, so inspect reports it still running rather \
than an exit — a binary that fell out of the event loop would say so \
here: {}",
String::from_utf8_lossy(&out.stderr)
);
assert!(
Expand Down
Loading