spirv: disable failing tests

This commit is contained in:
Robin Voetter
2023-08-26 11:32:37 +02:00
committed by Andrew Kelley
parent 865b2e259b
commit 79f7481575
22 changed files with 61 additions and 0 deletions

View File

@@ -763,6 +763,8 @@ test "slicing array of zero-sized values" {
}
test "array init with no result pointer sets field result types" {
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
const S = struct {
// A function parameter has a result type, but no result pointer.
fn f(arr: [1]u32) u32 {
@@ -777,6 +779,8 @@ test "array init with no result pointer sets field result types" {
}
test "runtime side-effects in comptime-known array init" {
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
var side_effects: u4 = 0;
const init = [4]u4{
blk: {