summaryrefslogtreecommitdiff
path: root/build/tests.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-17 15:17:19 -0300
committerGabriel Schneider <[email protected]>2026-11-17 15:38:03 -0300
commitd0c4da0b37f45b805081eb3f3dd95ae0fa9a99da (patch)
tree3843d3a78e1442393d4d5f32d067d9f9523c948c /build/tests.zig
parentb4faa9da0530be0391a7cc61eb4ea1e4cdbfa038 (diff)
downloadpardes-d0c4da0b37f45b805081eb3f3dd95ae0fa9a99da.tar.gz
pardes-d0c4da0b37f45b805081eb3f3dd95ae0fa9a99da.zip
build: sketchbook's devices by name: the window asks sketchbook (in build/gui.zig only) for its `c`, translated from gui.zig's header over pardes's own SDL (-Dc-header, -Dc-include), its `dev` (the executor, cells, presentation, glyph atlas and scene format: src/gui/gui.zig takes the five from it) and the named font.c, compiled against pardes's FreeType and HarfBuzz as before; every sb.path into sketchbook, the copied shader list, compileGlsl and -Dgpu-only are gone; -Dprebuilt-shaders is passed through; the GPU addons take gpu_scene from the same instance (addons.gpu gets the window's dependency, null off the window, after it); the Cells and Atlas tests are sketchbook's own now (5 fewer here). gui: frame corpus 77/77 byte-identical against mbase, unit-test 1582/1590 (the base's 1582; the 5 moved, the base's 8 failures), tui-has-no-sdl; tui: core-test 811/950 (139 skipped), configures with ../sketchbook moved aside
Diffstat (limited to 'build/tests.zig')
-rw-r--r--build/tests.zig4
1 files changed, 0 insertions, 4 deletions
diff --git a/build/tests.zig b/build/tests.zig
index d8bce18d..d88655e3 100644
--- a/build/tests.zig
+++ b/build/tests.zig
@@ -9,8 +9,6 @@ const program = tools.program;
/// addon-test (and the addons it loads), kitty-test, the 9P roots.
pub fn add(b: *std.Build, c: struct {
addon_mod: *std.Build.Module,
- atlas_test: ?*std.Build.Step.Compile,
- cells_test: ?*std.Build.Step.Compile,
core_lean: *std.Build.Module,
core_module: *std.Build.Module,
/// core_module's configuration, for the test roots that run on its imports.
@@ -62,8 +60,6 @@ pub fn add(b: *std.Build, c: struct {
// The perf and fs bench programs' own tests: they compile no editor.
_ = units.add(b, units.root(b, "test/perf.zig", true, &.{.{ .name = "perf_options", .module = c.tools.perf_options.createModule() }}), null);
_ = units.add(b, units.root(b, "test/fs_bench.zig", null, &.{}), null);
- if (c.cells_test) |t| _ = units.add(b, t, null);
- if (c.atlas_test) |t| _ = units.add(b, t, null);
const core_test = b.addTest(.{ .root_module = c.core_lean, .filters = c.test_filters });
const run_core_test = b.addRunArtifact(core_test);
run_core_test.has_side_effects = true;