diff options
| author | Robin Voetter <robin@voetter.nl> | 2024-05-31 00:09:28 +0200 |
|---|---|---|
| committer | Robin Voetter <robin@voetter.nl> | 2024-06-10 20:32:34 +0200 |
| commit | b9d738a5cff0ab896c25f1c8abe15757bcd6a0ba (patch) | |
| tree | 1a2938a226cb4605932665d9cb9fa9fcf4a81ad0 /test/behavior/error.zig | |
| parent | 44443b833b9c86cb5a3c50b157f13ab4097226d8 (diff) | |
| download | zig-b9d738a5cff0ab896c25f1c8abe15757bcd6a0ba.tar.gz zig-b9d738a5cff0ab896c25f1c8abe15757bcd6a0ba.zip | |
spirv: disable tests that fail on pocl
Besides the Intel OpenCL CPU runtime, we can now run the
behavior tests using the Portable Computing Language. This
implementation is open-source, so it will be easier for us
to patch in updated versions of spirv-llvm-translator that
have bug fixes etc.
Diffstat (limited to 'test/behavior/error.zig')
| -rw-r--r-- | test/behavior/error.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/behavior/error.zig b/test/behavior/error.zig index b579f1478e..8db9703f51 100644 --- a/test/behavior/error.zig +++ b/test/behavior/error.zig @@ -997,6 +997,7 @@ test "try used in recursive function with inferred error set" { if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; + if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; const Value = union(enum) { values: []const @This(), @@ -1103,6 +1104,7 @@ test "result location initialization of error union with OPV payload" { if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; + if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; const S = struct { x: u0, @@ -1125,6 +1127,7 @@ test "result location initialization of error union with OPV payload" { test "return error union with i65" { if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; + if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; try expect(try add(1000, 234) == 1234); } |
