From ccc490ef6876291ed3df5e945e7df913018c32af Mon Sep 17 00:00:00 2001 From: Ali Chraghi Date: Thu, 11 May 2023 09:23:34 +0330 Subject: setup spirv backend in behavior tests --- test/behavior/pub_enum.zig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/behavior/pub_enum.zig') diff --git a/test/behavior/pub_enum.zig b/test/behavior/pub_enum.zig index d2e887b12e..672d097250 100644 --- a/test/behavior/pub_enum.zig +++ b/test/behavior/pub_enum.zig @@ -1,7 +1,10 @@ +const builtin = @import("builtin"); const other = @import("pub_enum/other.zig"); const expect = @import("std").testing.expect; test "pub enum" { + if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; + try pubEnumTest(other.APubEnum.Two); } fn pubEnumTest(foo: other.APubEnum) !void { -- cgit v1.2.3