From 5c0230ea5a77f85de77ad4354788cd6c27aa1ef6 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 13 Nov 2026 09:28:38 -0300 Subject: debugger: follow natural V8 deoptimization with adaptive live views --- gui/build.zig | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gui/build.zig') diff --git a/gui/build.zig b/gui/build.zig index 98d9c44..3e09631 100644 --- a/gui/build.zig +++ b/gui/build.zig @@ -50,10 +50,18 @@ pub fn build(b: *std.Build) void { tests.dependOn(&test_run.step); const navigation = b.addTest(.{ .root_module = b.createModule(.{ .root_source_file = b.path("src/Navigation.zig"), .target = target, .optimize = optimize }) }); tests.dependOn(&b.addRunArtifact(navigation).step); + const geometry = b.addTest(.{ .root_module = b.createModule(.{ .root_source_file = b.path("src/Geometry.zig"), .target = target, .optimize = optimize, .imports = &.{.{ .name = "sketch", .module = sb.modules.sketch }} }) }); + tests.dependOn(&b.addRunArtifact(geometry).step); const inspection = b.addSystemCommand(&.{"python3"}); inspection.addFileArg(b.path("test/inspection.py")); inspection.addArg("--ztrace"); inspection.addFileArg(b.graph.path(.install_bin, "ztrace")); inspection.step.dependOn(b.getInstallStep()); tests.dependOn(&inspection.step); + const adaptive = b.addSystemCommand(&.{"python3"}); + adaptive.addFileArg(b.path("test/adaptive.py")); + adaptive.addArg("--gui"); + adaptive.addFileArg(b.graph.path(.install_bin, "ztrace-gui")); + adaptive.step.dependOn(b.getInstallStep()); + tests.dependOn(&adaptive.step); } -- cgit v1.3