Add plumbing for running esctest
This commit is contained in:
1 parent
ff64ba727b
commit
9702d1cf5a
5 files changed
+15
No files matched your search
@@ -2,3 +2,4 @@
|
|||||||
/target/
|
/target/
|
||||||
**/*.rs.bk
|
**/*.rs.bk
|
||||||
.*.sw*
|
.*.sw*
|
||||||
|
/esctest.log
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
[submodule "harfbuzz/harfbuzz"]
|
[submodule "harfbuzz/harfbuzz"]
|
||||||
path = ci/harfbuzz
|
path = ci/harfbuzz
|
||||||
url = https://github.com/harfbuzz/harfbuzz.git
|
url = https://github.com/harfbuzz/harfbuzz.git
|
||||||
|
[submodule "ci/esctest"]
|
||||||
|
path = ci/esctest
|
||||||
|
url = https://gitlab.freedesktop.org/terminal-wg/esctest
|
||||||
Submodule
+1
Submodule ci/esctest added at c75fe263b4.
Executable
+8
@@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
set -x
|
||||||
|
export RUST_BACKTRACE=1
|
||||||
|
cargo run -- start --front-end null -- python -B ./ci/esctest/esctest/esctest.py \
|
||||||
|
--expected-terminal=xterm \
|
||||||
|
--v=3 \
|
||||||
|
--timeout=0.1 \
|
||||||
|
--logfile=esctest.log
|
||||||
@@ -1409,6 +1409,8 @@ impl TerminalState {
|
|||||||
let response = Window::ResizeWindowCells { width, height };
|
let response = Window::ResizeWindowCells { width, height };
|
||||||
write!(host.writer(), "{}", CSI::Window(response)).ok();
|
write!(host.writer(), "{}", CSI::Window(response)).ok();
|
||||||
}
|
}
|
||||||
|
Window::Iconify | Window::DeIconify => {},
|
||||||
|
Window::PopIconAndWindowTitle => {},
|
||||||
_ => eprintln!("unhandled Window CSI {:?}", window),
|
_ => eprintln!("unhandled Window CSI {:?}", window),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user