Add PTY terminal E2E harness

This commit is contained in:
slhx agent
2026-06-21 17:17:37 +02:00
parent 8c4d09f709
commit 70e64180c1
2 changed files with 271 additions and 0 deletions
+5
View File
@@ -96,6 +96,11 @@ pub fn build(b: *std.Build) void {
const smoke_cmd = b.addRunArtifact(smoke_tests);
const smoke_step = b.step("v1-smoke", "Run cheap v1 end-to-end fixture suite");
smoke_step.dependOn(&smoke_cmd.step);
const terminal_e2e_cmd = b.addSystemCommand(&.{ "python3", "tools/terminal_e2e.py" });
terminal_e2e_cmd.addArtifactArg(exe);
const terminal_e2e_step = b.step("terminal-e2e", "Run PTY-backed browser-terminal E2E checks");
terminal_e2e_step.dependOn(&terminal_e2e_cmd.step);
}
fn addRunProfileStep(b: *std.Build, profile: Profile, exe: *std.Build.Step.Compile) void {