aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/maximum_minimum.zig
diff options
context:
space:
mode:
authorRobin Voetter <robin@voetter.nl>2023-07-01 14:30:32 +0200
committerRobin Voetter <robin@voetter.nl>2023-07-01 19:45:09 +0200
commit073289d0dadfd1ea0088837563a109100b065ed3 (patch)
tree0f418d7fd310b768ba343aa7778b528f7ec02135 /test/behavior/maximum_minimum.zig
parentaa398034eb1b2fd74e1815ae2e75ca1a3ca4a567 (diff)
downloadzig-073289d0dadfd1ea0088837563a109100b065ed3.tar.gz
zig-073289d0dadfd1ea0088837563a109100b065ed3.zip
spirv: disable new behavior tests that do not pass
Some new behavior tests have recently been added, and not all of these pass with the SPIR-V backend.
Diffstat (limited to 'test/behavior/maximum_minimum.zig')
-rw-r--r--test/behavior/maximum_minimum.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/behavior/maximum_minimum.zig b/test/behavior/maximum_minimum.zig
index 0844cdd282..926d94a2f8 100644
--- a/test/behavior/maximum_minimum.zig
+++ b/test/behavior/maximum_minimum.zig
@@ -297,6 +297,8 @@ test "@min/@max notices bounds from vector types when element of comptime-known
}
test "@min/@max of signed and unsigned runtime integers" {
+ if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
+
var x: i32 = -1;
var y: u31 = 1;