summaryrefslogtreecommitdiff
path: root/test/snapshot.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshot.zig')
-rw-r--r--test/snapshot.zig8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/snapshot.zig b/test/snapshot.zig
index 54ba0271..5417530d 100644
--- a/test/snapshot.zig
+++ b/test/snapshot.zig
@@ -32,6 +32,14 @@ const libc = std.c;
const ghostty_vt = @import("ghostty-vt");
const eh = @import("e2e_harness.zig");
+// This harness parses the app's output with its OWN ghostty-vt, which narrates
+// every sequence it does not implement — vaxis's startup capability probes
+// alone cost four `debug(stream)`/`warning(stream)`/`debug(kitty_gfx)` lines
+// per script, burying the PASS/FAIL report under 200 lines of chatter. Cut the
+// libraries back to errors; the report itself goes through std.debug, so a
+// failure stays loud either way.
+pub const std_options: std.Options = .{ .log_level = .err };
+
extern "c" fn setenv(name: [*:0]const u8, value: [*:0]const u8, overwrite: c_int) c_int;
extern "c" fn execvp(file: [*:0]const u8, argv: [*:null]const ?[*:0]const u8) c_int;