spirv: update failing / passing tests

Some tests are now failing due to debug info changes, some tests
now pass due to improved compiler functionality.
This commit is contained in:
Robin Voetter
2023-09-23 01:30:16 +02:00
parent 0552e504d0
commit faad97edff
87 changed files with 48 additions and 279 deletions

View File

@@ -4,7 +4,6 @@ const expect = std.testing.expect;
test "try on error union" {
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
try tryOnErrorUnionImpl();
try comptime tryOnErrorUnionImpl();
@@ -40,8 +39,6 @@ fn failIfTrue(ok: bool) anyerror!void {
}
test "try then not executed with assignment" {
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
if (failIfTrue(true)) {
unreachable;
} else |err| {