| ... | @@ -6,7 +6,6 @@ const expectEqual = testing.expectEqual; | ... | @@ -6,7 +6,6 @@ const expectEqual = testing.expectEqual; |
| 6 | const expectEqualStrings = std.testing.expectEqualStrings; | 6 | const expectEqualStrings = std.testing.expectEqualStrings; |
| 7 | | 7 | |
| 8 | test "passing an optional integer as a parameter" { | 8 | test "passing an optional integer as a parameter" { |
| 9 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | | |
| 10 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO | 9 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 11 | | 10 | |
| 12 | const S = struct { | 11 | const S = struct { |
| ... | @@ -26,8 +25,6 @@ test "passing an optional integer as a parameter" { | ... | @@ -26,8 +25,6 @@ test "passing an optional integer as a parameter" { |
| 26 | pub const EmptyStruct = struct {}; | 25 | pub const EmptyStruct = struct {}; |
| 27 | | 26 | |
| 28 | test "optional pointer to size zero struct" { | 27 | test "optional pointer to size zero struct" { |
| 29 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | | |
| 30 | | | |
| 31 | var e = EmptyStruct{}; | 28 | var e = EmptyStruct{}; |
| 32 | var o: ?*EmptyStruct = &e; | 29 | var o: ?*EmptyStruct = &e; |
| 33 | try expect(o != null); | 30 | try expect(o != null); |
| ... | @@ -142,7 +139,6 @@ fn test_cmp_optional_non_optional() !void { | ... | @@ -142,7 +139,6 @@ fn test_cmp_optional_non_optional() !void { |
| 142 | } | 139 | } |
| 143 | | 140 | |
| 144 | test "unwrap function call with optional pointer return value" { | 141 | test "unwrap function call with optional pointer return value" { |
| 145 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | | |
| 146 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO | 142 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 147 | | 143 | |
| 148 | const S = struct { | 144 | const S = struct { |
| ... | @@ -163,7 +159,6 @@ test "unwrap function call with optional pointer return value" { | ... | @@ -163,7 +159,6 @@ test "unwrap function call with optional pointer return value" { |
| 163 | } | 159 | } |
| 164 | | 160 | |
| 165 | test "nested orelse" { | 161 | test "nested orelse" { |
| 166 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | | |
| 167 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO | 162 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 168 | | 163 | |
| 169 | const S = struct { | 164 | const S = struct { |
| ... | @@ -189,7 +184,6 @@ test "nested orelse" { | ... | @@ -189,7 +184,6 @@ test "nested orelse" { |
| 189 | } | 184 | } |
| 190 | | 185 | |
| 191 | test "self-referential struct through a slice of optional" { | 186 | test "self-referential struct through a slice of optional" { |
| 192 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | | |
| 193 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO | 187 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO |
| 194 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO | 188 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 195 | | 189 | |
| ... | @@ -270,7 +264,6 @@ test "0-bit child type coerced to optional return ptr result location" { | ... | @@ -270,7 +264,6 @@ test "0-bit child type coerced to optional return ptr result location" { |
| 270 | | 264 | |
| 271 | test "0-bit child type coerced to optional" { | 265 | test "0-bit child type coerced to optional" { |
| 272 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO | 266 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO |
| 273 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO | | |
| 274 | | 267 | |
| 275 | const S = struct { | 268 | const S = struct { |
| 276 | fn doTheTest() !void { | 269 | fn doTheTest() !void { |