summaryrefslogtreecommitdiff
path: root/gui/build.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-13 09:28:38 -0300
committerGabriel Schneider <[email protected]>2026-11-13 09:28:38 -0300
commit5c0230ea5a77f85de77ad4354788cd6c27aa1ef6 (patch)
treee01a903bdee092965b86e118dfaab85c3bd60004 /gui/build.zig
parent5a40dca5adb6e9e650f55f3ec6f254a13bf50493 (diff)
downloadcomputeranim-5c0230ea5a77f85de77ad4354788cd6c27aa1ef6.tar.gz
computeranim-5c0230ea5a77f85de77ad4354788cd6c27aa1ef6.zip
debugger: follow natural V8 deoptimization with adaptive live views
Diffstat (limited to 'gui/build.zig')
-rw-r--r--gui/build.zig8
1 files changed, 8 insertions, 0 deletions
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);
}