authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-03-16 22:02:06-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-03-16 22:02:06-07:00
log5c913fb2bc30b8220c48043af9d1604ea73fe896
tree8effd207793cd3a2ef50fa5647be8a3c5fe2f0bc
parent4d7e77cb1701a45e174a015d4803e01e12179b06

disable failing standalone test on windows

See tracking issue #14800

1 files changed, 5 insertions(+), 1 deletions(-)

test/standalone/mix_c_files/build.zig+5-1
......@@ -4,6 +4,11 @@ pub fn build(b: *std.Build) void {
44 const test_step = b.step("test", "Test it");
55 b.default_step = test_step;
66
7 if (@import("builtin").os.tag == .windows) {
8 // https://github.com/ziglang/zig/issues/14800
9 return;
10 }
11
712 add(b, test_step, .Debug);
813 add(b, test_step, .ReleaseFast);
914 add(b, test_step, .ReleaseSmall);
......@@ -18,7 +23,6 @@ fn add(b: *std.Build, test_step: *std.Build.Step, optimize: std.builtin.Optimize
1823 });
1924 exe.addCSourceFile("test.c", &[_][]const u8{"-std=c11"});
2025 exe.linkLibC();
21 b.default_step.dependOn(&exe.step);
2226
2327 const run_cmd = b.addRunArtifact(exe);
2428 run_cmd.skip_foreign_checks = true;