Commit 1cb8065a52

Andrew Kelley <andrew@ziglang.org>
2022-08-30 07:39:05
skip new behavior tests that do not pass for stage1
1 parent 3c506c8
Changed files (2)
test
behavior
test/behavior/bugs/12486.zig
@@ -23,6 +23,8 @@ const ErrStruct = struct {
 };
 
 test {
+    if (@import("builtin").zig_backend == .stage1) return error.SkipZigTest;
+
     _ = OptEnum{
         .opt_enum = .{
             .EnumVariant = 1,
test/behavior/generics.zig
@@ -344,6 +344,8 @@ test "generic instantiation of tagged union with only one field" {
 }
 
 test "nested generic function" {
+    if (builtin.zig_backend == .stage1) return error.SkipZigTest;
+
     const S = struct {
         fn foo(comptime T: type, callback: *const fn (user_data: T) anyerror!void, data: T) anyerror!void {
             try callback(data);