summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--build.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.zig b/build.zig
index 647a9c2..8083ded 100644
--- a/build.zig
+++ b/build.zig
@@ -254,6 +254,7 @@ pub fn build(b: *std.Build) !void {
254 .root_source_file = .{ .path = "sqlite.zig" }, 254 .root_source_file = .{ .path = "sqlite.zig" },
255 .single_threaded = test_target.single_threaded, 255 .single_threaded = test_target.single_threaded,
256 }); 256 });
257 const run_tests = b.addRunArtifact(tests);
257 258
258 if (bundled) { 259 if (bundled) {
259 const lib = b.addStaticLibrary(.{ 260 const lib = b.addStaticLibrary(.{
@@ -287,7 +288,7 @@ pub fn build(b: *std.Build) !void {
287 tests_options.addOption(bool, "in_memory", in_memory); 288 tests_options.addOption(bool, "in_memory", in_memory);
288 tests_options.addOption(?[]const u8, "dbfile", dbfile); 289 tests_options.addOption(?[]const u8, "dbfile", dbfile);
289 290
290 test_step.dependOn(&tests.step); 291 test_step.dependOn(&run_tests.step);
291 } 292 }
292 293
293 // Fuzzing 294 // Fuzzing