| ... | @@ -17,7 +17,6 @@ fn testDerefPtr() !void { | ... | @@ -17,7 +17,6 @@ fn testDerefPtr() !void { |
| 17 | } | 17 | } |
| 18 | | 18 | |
| 19 | test "pointer arithmetic" { | 19 | test "pointer arithmetic" { |
| 20 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; | | |
| 21 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | 20 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 22 | | 21 | |
| 23 | var ptr: [*]const u8 = "abcd"; | 22 | var ptr: [*]const u8 = "abcd"; |
| ... | @@ -64,7 +63,6 @@ test "initialize const optional C pointer to null" { | ... | @@ -64,7 +63,6 @@ test "initialize const optional C pointer to null" { |
| 64 | } | 63 | } |
| 65 | | 64 | |
| 66 | test "assigning integer to C pointer" { | 65 | test "assigning integer to C pointer" { |
| 67 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; | | |
| 68 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | 66 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 69 | | 67 | |
| 70 | var x: i32 = 0; | 68 | var x: i32 = 0; |
| ... | @@ -81,8 +79,6 @@ test "assigning integer to C pointer" { | ... | @@ -81,8 +79,6 @@ test "assigning integer to C pointer" { |
| 81 | } | 79 | } |
| 82 | | 80 | |
| 83 | test "C pointer comparison and arithmetic" { | 81 | test "C pointer comparison and arithmetic" { |
| 84 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; | | |
| 85 | | | |
| 86 | const S = struct { | 82 | const S = struct { |
| 87 | fn doTheTest() !void { | 83 | fn doTheTest() !void { |
| 88 | var ptr1: [*c]u32 = 0; | 84 | var ptr1: [*c]u32 = 0; |
| ... | @@ -148,7 +144,6 @@ test "peer type resolution with C pointer and const pointer" { | ... | @@ -148,7 +144,6 @@ test "peer type resolution with C pointer and const pointer" { |
| 148 | } | 144 | } |
| 149 | | 145 | |
| 150 | test "implicit casting between C pointer and optional non-C pointer" { | 146 | test "implicit casting between C pointer and optional non-C pointer" { |
| 151 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; | | |
| 152 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; | 147 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; |
| 153 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | 148 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 154 | | 149 | |
| ... | @@ -279,7 +274,6 @@ test "array initialization types" { | ... | @@ -279,7 +274,6 @@ test "array initialization types" { |
| 279 | | 274 | |
| 280 | test "null terminated pointer" { | 275 | test "null terminated pointer" { |
| 281 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | 276 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 282 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO | | |
| 283 | | 277 | |
| 284 | const S = struct { | 278 | const S = struct { |
| 285 | fn doTheTest() !void { | 279 | fn doTheTest() !void { |
| ... | @@ -296,7 +290,6 @@ test "null terminated pointer" { | ... | @@ -296,7 +290,6 @@ test "null terminated pointer" { |
| 296 | | 290 | |
| 297 | test "allow any sentinel" { | 291 | test "allow any sentinel" { |
| 298 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | 292 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 299 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO | | |
| 300 | | 293 | |
| 301 | const S = struct { | 294 | const S = struct { |
| 302 | fn doTheTest() !void { | 295 | fn doTheTest() !void { |
| ... | @@ -311,7 +304,6 @@ test "allow any sentinel" { | ... | @@ -311,7 +304,6 @@ test "allow any sentinel" { |
| 311 | | 304 | |
| 312 | test "pointer sentinel with enums" { | 305 | test "pointer sentinel with enums" { |
| 313 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | 306 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 314 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO | | |
| 315 | | 307 | |
| 316 | const S = struct { | 308 | const S = struct { |
| 317 | const Number = enum { | 309 | const Number = enum { |
| ... | @@ -332,7 +324,6 @@ test "pointer sentinel with enums" { | ... | @@ -332,7 +324,6 @@ test "pointer sentinel with enums" { |
| 332 | test "pointer sentinel with optional element" { | 324 | test "pointer sentinel with optional element" { |
| 333 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | 325 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 334 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO | 326 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 335 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO | | |
| 336 | | 327 | |
| 337 | const S = struct { | 328 | const S = struct { |
| 338 | fn doTheTest() !void { | 329 | fn doTheTest() !void { |