authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-05-27 21:26:12-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-05-29 15:22:48-07:00
log555086b1f33f8dc8933c8de989a413b316296cd7
tree5e2c028320ee2d2a6c00b06529eccd8e3b07729f
parent03f937759dd9183a5f6740434360c88ab124c29d

tests: move skip logic to be noticed more easily


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

test/tests.zig+2-5
...@@ -200,6 +200,7 @@ const module_test_targets = blk: {...@@ -200,6 +200,7 @@ const module_test_targets = blk: {
200 // .use_lld = false,200 // .use_lld = false,
201 // .optimize_mode = .ReleaseFast,201 // .optimize_mode = .ReleaseFast,
202 // .strip = true,202 // .strip = true,
203 // .skip_modules = &.{"std"}, // TODO get these passing
203 //},204 //},
204 //.{205 //.{
205 // .target = .{206 // .target = .{
...@@ -212,6 +213,7 @@ const module_test_targets = blk: {...@@ -212,6 +213,7 @@ const module_test_targets = blk: {
212 // .use_lld = false,213 // .use_lld = false,
213 // .optimize_mode = .ReleaseFast,214 // .optimize_mode = .ReleaseFast,
214 // .strip = true,215 // .strip = true,
216 // .skip_modules = &.{"std"}, // TODO get these passing
215 //},217 //},
216218
217 .{219 .{
...@@ -2663,11 +2665,6 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step {...@@ -2663,11 +2665,6 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step {
2663 if (options.skip_single_threaded and test_target.single_threaded == true)2665 if (options.skip_single_threaded and test_target.single_threaded == true)
2664 continue;2666 continue;
26652667
2666 if (!would_use_llvm and target.cpu.arch == .aarch64) {
2667 // TODO get std tests passing for the aarch64 self-hosted backend.
2668 if (mem.eql(u8, options.name, "std")) continue;
2669 }
2670
2671 const want_this_mode = for (options.optimize_modes) |m| {2668 const want_this_mode = for (options.optimize_modes) |m| {
2672 if (m == test_target.optimize_mode) break true;2669 if (m == test_target.optimize_mode) break true;
2673 } else false;2670 } else false;