| author | |
| committer | |
| log | 75372f12ef1301118eed33e429f7498e76836cb3 |
| tree | 13dfffe3e40acadf065e1ae936c36865130f75ba |
| parent | 1dfdc21c31a027a34213a2e1f27433d4e609d634 |
8 files changed, 2 insertions(+), 20 deletions(-)
test/behavior/bitcast.zig-2| ... | @@ -541,7 +541,6 @@ test "@bitCast of packed struct containing pointer" { | ... | @@ -541,7 +541,6 @@ test "@bitCast of packed struct containing pointer" { |
| 541 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO | 541 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO |
| 542 | if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO | 542 | if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO |
| 543 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; // TODO | 543 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; // TODO |
| 544 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; | ||
| 545 | 544 | ||
| 546 | const S = struct { | 545 | const S = struct { |
| 547 | const A = packed struct { | 546 | const A = packed struct { |
| ... | @@ -571,7 +570,6 @@ test "@bitCast of extern struct containing pointer" { | ... | @@ -571,7 +570,6 @@ test "@bitCast of extern struct containing pointer" { |
| 571 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO | 570 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO |
| 572 | if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO | 571 | if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO |
| 573 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; // TODO | 572 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; // TODO |
| 574 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; | ||
| 575 | 573 | ||
| 576 | const S = struct { | 574 | const S = struct { |
| 577 | const A = extern struct { | 575 | const A = extern struct { |
test/behavior/comptime_memory.zig-6| ... | @@ -32,8 +32,6 @@ test "type pun signed and unsigned as array pointer" { | ... | @@ -32,8 +32,6 @@ test "type pun signed and unsigned as array pointer" { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | test "type pun signed and unsigned as offset many pointer" { | 34 | test "type pun signed and unsigned as offset many pointer" { |
| 35 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; | ||
| 36 | |||
| 37 | comptime { | 35 | comptime { |
| 38 | var x: [11]u32 = undefined; | 36 | var x: [11]u32 = undefined; |
| 39 | var y: [*]i32 = @ptrCast(&x[10]); | 37 | var y: [*]i32 = @ptrCast(&x[10]); |
| ... | @@ -44,8 +42,6 @@ test "type pun signed and unsigned as offset many pointer" { | ... | @@ -44,8 +42,6 @@ test "type pun signed and unsigned as offset many pointer" { |
| 44 | } | 42 | } |
| 45 | 43 | ||
| 46 | test "type pun signed and unsigned as array pointer with pointer arithemtic" { | 44 | test "type pun signed and unsigned as array pointer with pointer arithemtic" { |
| 47 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; | ||
| 48 | |||
| 49 | comptime { | 45 | comptime { |
| 50 | var x: [11]u32 = undefined; | 46 | var x: [11]u32 = undefined; |
| 51 | const y = @as([*]i32, @ptrCast(&x[10])) - 10; | 47 | const y = @as([*]i32, @ptrCast(&x[10])) - 10; |
| ... | @@ -293,8 +289,6 @@ test "dance on linker values" { | ... | @@ -293,8 +289,6 @@ test "dance on linker values" { |
| 293 | } | 289 | } |
| 294 | 290 | ||
| 295 | test "offset array ptr by element size" { | 291 | test "offset array ptr by element size" { |
| 296 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; | ||
| 297 | |||
| 298 | comptime { | 292 | comptime { |
| 299 | const VirtualStruct = struct { x: u32 }; | 293 | const VirtualStruct = struct { x: u32 }; |
| 300 | var arr: [4]VirtualStruct = .{ | 294 | var arr: [4]VirtualStruct = .{ |
test/behavior/error.zig+1| ... | @@ -1124,6 +1124,7 @@ test "result location initialization of error union with OPV payload" { | ... | @@ -1124,6 +1124,7 @@ test "result location initialization of error union with OPV payload" { |
| 1124 | 1124 | ||
| 1125 | test "return error union with i65" { | 1125 | test "return error union with i65" { |
| 1126 | if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; | 1126 | if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; |
| 1127 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; | ||
| 1127 | 1128 | ||
| 1128 | try expect(try add(1000, 234) == 1234); | 1129 | try expect(try add(1000, 234) == 1234); |
| 1129 | } | 1130 | } |
test/behavior/packed-union.zig-2| ... | @@ -177,8 +177,6 @@ test "assigning to non-active field at comptime" { | ... | @@ -177,8 +177,6 @@ test "assigning to non-active field at comptime" { |
| 177 | } | 177 | } |
| 178 | 178 | ||
| 179 | test "comptime packed union of pointers" { | 179 | test "comptime packed union of pointers" { |
| 180 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; | ||
| 181 | |||
| 182 | const U = packed union { | 180 | const U = packed union { |
| 183 | a: *const u32, | 181 | a: *const u32, |
| 184 | b: *const [1]u32, | 182 | b: *const [1]u32, |
test/behavior/pointers.zig-4| ... | @@ -640,8 +640,6 @@ test "cast pointers with zero sized elements" { | ... | @@ -640,8 +640,6 @@ test "cast pointers with zero sized elements" { |
| 640 | } | 640 | } |
| 641 | 641 | ||
| 642 | test "comptime pointer equality through distinct fields with well-defined layout" { | 642 | test "comptime pointer equality through distinct fields with well-defined layout" { |
| 643 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; | ||
| 644 | |||
| 645 | const A = extern struct { | 643 | const A = extern struct { |
| 646 | x: u32, | 644 | x: u32, |
| 647 | z: u16, | 645 | z: u16, |
| ... | @@ -666,8 +664,6 @@ test "comptime pointer equality through distinct fields with well-defined layout | ... | @@ -666,8 +664,6 @@ test "comptime pointer equality through distinct fields with well-defined layout |
| 666 | } | 664 | } |
| 667 | 665 | ||
| 668 | test "comptime pointer equality through distinct elements with well-defined layout" { | 666 | test "comptime pointer equality through distinct elements with well-defined layout" { |
| 669 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; | ||
| 670 | |||
| 671 | const buf: [2]u32 = .{ 123, 456 }; | 667 | const buf: [2]u32 = .{ 123, 456 }; |
| 672 | 668 | ||
| 673 | const ptr: *const [2]u32 = &buf; | 669 | const ptr: *const [2]u32 = &buf; |
test/behavior/ptrcast.zig-4| ... | @@ -298,8 +298,6 @@ test "comptime @ptrCast with packed struct leaves value unmodified" { | ... | @@ -298,8 +298,6 @@ test "comptime @ptrCast with packed struct leaves value unmodified" { |
| 298 | } | 298 | } |
| 299 | 299 | ||
| 300 | test "@ptrCast restructures comptime-only array" { | 300 | test "@ptrCast restructures comptime-only array" { |
| 301 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; | ||
| 302 | |||
| 303 | { | 301 | { |
| 304 | const a3a2: [3][2]comptime_int = .{ | 302 | const a3a2: [3][2]comptime_int = .{ |
| 305 | .{ 1, 2 }, | 303 | .{ 1, 2 }, |
| ... | @@ -342,8 +340,6 @@ test "@ptrCast restructures comptime-only array" { | ... | @@ -342,8 +340,6 @@ test "@ptrCast restructures comptime-only array" { |
| 342 | } | 340 | } |
| 343 | 341 | ||
| 344 | test "@ptrCast restructures sliced comptime-only array" { | 342 | test "@ptrCast restructures sliced comptime-only array" { |
| 345 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; | ||
| 346 | |||
| 347 | const a3a2: [4][2]comptime_int = .{ | 343 | const a3a2: [4][2]comptime_int = .{ |
| 348 | .{ 1, 2 }, | 344 | .{ 1, 2 }, |
| 349 | .{ 3, 4 }, | 345 | .{ 3, 4 }, |
test/behavior/type.zig-2| ... | @@ -763,8 +763,6 @@ test "matching captures causes opaque equivalence" { | ... | @@ -763,8 +763,6 @@ test "matching captures causes opaque equivalence" { |
| 763 | } | 763 | } |
| 764 | 764 | ||
| 765 | test "reify enum where fields refers to part of array" { | 765 | test "reify enum where fields refers to part of array" { |
| 766 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; | ||
| 767 | |||
| 768 | const fields: [3]std.builtin.Type.EnumField = .{ | 766 | const fields: [3]std.builtin.Type.EnumField = .{ |
| 769 | .{ .name = "foo", .value = 0 }, | 767 | .{ .name = "foo", .value = 0 }, |
| 770 | .{ .name = "bar", .value = 1 }, | 768 | .{ .name = "bar", .value = 1 }, |
test/behavior/union.zig+1| ... | @@ -2373,6 +2373,7 @@ test "signed enum tag with negative value" { | ... | @@ -2373,6 +2373,7 @@ test "signed enum tag with negative value" { |
| 2373 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO | 2373 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO |
| 2374 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO | 2374 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 2375 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; | 2375 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; |
| 2376 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; | ||
| 2376 | 2377 | ||
| 2377 | const Enum = enum(i8) { | 2378 | const Enum = enum(i8) { |
| 2378 | a = -1, | 2379 | a = -1, |