diff --git a/fiat-zig/build.zig b/fiat-zig/build.zig index d3a81bda4c..5fb16e262e 100644 --- a/fiat-zig/build.zig +++ b/fiat-zig/build.zig @@ -4,7 +4,7 @@ pub fn build(b: *std.Build) void { var main_tests = b.addTest(.{ .root_source_file = .{ .path = "src/main.zig" }, }); - + const run_main_tests = b.addRunArtifact(main_tests); const test_step = b.step("test", "Run library tests"); - test_step.dependOn(&main_tests.step); + test_step.dependOn(&run_main_tests.step); } diff --git a/fiat-zig/src/main.zig b/fiat-zig/src/main.zig index d9556cefeb..9ba8d5799d 100644 --- a/fiat-zig/src/main.zig +++ b/fiat-zig/src/main.zig @@ -35,7 +35,6 @@ fn testVector(comptime fiat: type, expected_s: []const u8) !void { // Check that the result matches the expected one. var expected: [as.len]u8 = undefined; _ = try fmt.hexToBytes(&expected, expected_s); - std.debug.print("> {s}\n", .{fmt.fmtSliceHexLower(&as)}); try std.testing.expectEqualSlices(u8, &expected, &as); } diff --git a/inversion/zig/build.zig b/inversion/zig/build.zig index 69f70fc4de..da13966807 100644 --- a/inversion/zig/build.zig +++ b/inversion/zig/build.zig @@ -4,7 +4,7 @@ pub fn build(b: *std.Build) void { var main_tests = b.addTest(.{ .root_source_file = .{ .path = "inversion.zig" }, }); - + const run_main_tests = b.addRunArtifact(main_tests); const test_step = b.step("test", "Run tests"); - test_step.dependOn(&main_tests.step); + test_step.dependOn(&run_main_tests.step); }