setup spirv backend in behavior tests
This commit is contained in:
committed by
Robin Voetter
parent
e26d8d0604
commit
ccc490ef68
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user