about summary refs log tree commit diff
path: root/build.zig
diff options
context:
space:
mode:
authormakefunstuff <[email protected]>2024-07-02 20:18:56 +0200
committermakefunstuff <[email protected]>2024-07-02 20:18:56 +0200
commit93e7e42605a5f62519c30c86ab65bd529edb3389 (patch)
tree311b94836418b02ba8591abaa3256cbc3bad62ea /build.zig
parent756dd2943a4082e9037c99f0cc0567f9d6cdc59d (diff)
downloadtinkerbunk-93e7e42605a5f62519c30c86ab65bd529edb3389.tar.gz
still borken
Diffstat (limited to '')
-rw-r--r--build.zig11
1 files changed, 0 insertions, 11 deletions
diff --git a/build.zig b/build.zig
index 9a66a59..94ee88f 100644
--- a/build.zig
+++ b/build.zig
@@ -54,16 +54,6 @@ pub fn build(b: *std.Build) void {
     const run_step = b.step("run", "Run the app");
     run_step.dependOn(&run_cmd.step);
 
-    // Creates a step for unit testing. This only builds the test executable
-    // but does not run it.
-    const lib_unit_tests = b.addTest(.{
-        .root_source_file = b.path("src/root.zig"),
-        .target = target,
-        .optimize = optimize,
-    });
-
-    const run_lib_unit_tests = b.addRunArtifact(lib_unit_tests);
-
     const exe_unit_tests = b.addTest(.{
         .root_source_file = b.path("src/main.zig"),
         .target = target,
@@ -76,6 +66,5 @@ pub fn build(b: *std.Build) void {
     // the `zig build --help` menu, providing a way for the user to request
     // running the unit tests.
     const test_step = b.step("test", "Run unit tests");
-    test_step.dependOn(&run_lib_unit_tests.step);
     test_step.dependOn(&run_exe_unit_tests.step);
 }