zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 6f288051c1b816adefa1c962740280d94b5ef4f2 (tree)
parent bc913295b52ae0368c1a0fb33678ec6ac3408c9b
Author: Jacob Young <jacobly0@users.noreply.github.com>
Date:   Sat, 24 Dec 2022 02:54:06 -0500

behavior: disable tests on failing backends

Diffstat:
Mtest/behavior/array.zig | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/test/behavior/array.zig b/test/behavior/array.zig @@ -46,6 +46,8 @@ fn getArrayLen(a: []const u32) usize { } test "array concat with undefined" { + if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO + { var array = "hello".* ++ @as([5]u8, undefined); array[5..10].* = "world".*; @@ -59,6 +61,9 @@ test "array concat with undefined" { } test "array concat with tuple" { + if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO + if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO + const array: [2]u8 = .{ 1, 2 }; { const seq = array ++ .{ 3, 4 };