diff options
| -rw-r--r-- | build.zig | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -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 |