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 {...@@ -4,6 +4,11 @@ pub fn build(b: *std.Build) void {
4 const test_step = b.step("test", "Test it");4 const test_step = b.step("test", "Test it");
5 b.default_step = test_step;5 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
7 add(b, test_step, .Debug);12 add(b, test_step, .Debug);
8 add(b, test_step, .ReleaseFast);13 add(b, test_step, .ReleaseFast);
9 add(b, test_step, .ReleaseSmall);14 add(b, test_step, .ReleaseSmall);
...@@ -18,7 +23,6 @@ fn add(b: *std.Build, test_step: *std.Build.Step, optimize: std.builtin.Optimize...@@ -18,7 +23,6 @@ fn add(b: *std.Build, test_step: *std.Build.Step, optimize: std.builtin.Optimize
18 });23 });
19 exe.addCSourceFile("test.c", &[_][]const u8{"-std=c11"});24 exe.addCSourceFile("test.c", &[_][]const u8{"-std=c11"});
20 exe.linkLibC();25 exe.linkLibC();
21 b.default_step.dependOn(&exe.step);
2226
23 const run_cmd = b.addRunArtifact(exe);27 const run_cmd = b.addRunArtifact(exe);
24 run_cmd.skip_foreign_checks = true;28 run_cmd.skip_foreign_checks = true;