build: skip ghostty-test graph when building libghostty-vt

Fixes #12151
This commit is contained in:
kataokatsuki
2026-04-10 22:41:16 +09:00
parent 48a01b8bd5
commit 85be3ca2c1

View File

@@ -329,8 +329,8 @@ pub fn build(b: *std.Build) !void {
test_lib_vt_step.dependOn(&mod_vt_c_test_run.step);
}
// Tests
{
// Tests (skip when building libghostty-vt)
if (!config.emit_lib_vt) {
// Full unit tests
const test_exe = b.addTest(.{
.name = "ghostty-test",