zig

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

commit dfb4446d091b3db21d0ce953d76948788e7feb89 (tree)
parent c8e4108c5b822af0cc99d35baea108c1738d55ff
Author: LemonBoy <thatlemon@gmail.com>
Date:   Thu, 26 Sep 2019 17:42:58 +0200

Add comments about the test cases that have been disabled

Diffstat:
Mlib/std/hash/auto_hash.zig | 1+
Mtest/stage1/behavior/byteswap.zig | 1+
Mtest/stage1/behavior/shuffle.zig | 1+
3 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/lib/std/hash/auto_hash.zig b/lib/std/hash/auto_hash.zig @@ -355,6 +355,7 @@ test "testHash union" { } test "testHash vector" { + // Disabled because of #3317 if (@import("builtin").arch == .mipsel) return error.SkipZigTest; const a: @Vector(4, u32) = [_]u32{ 1, 2, 3, 4 }; diff --git a/test/stage1/behavior/byteswap.zig b/test/stage1/behavior/byteswap.zig @@ -39,6 +39,7 @@ test "@byteSwap integers" { } test "@byteSwap vectors" { + // Disabled because of #3317 if (@import("builtin").arch == .mipsel) return error.SkipZigTest; const ByteSwapVectorTest = struct { diff --git a/test/stage1/behavior/shuffle.zig b/test/stage1/behavior/shuffle.zig @@ -33,6 +33,7 @@ test "@shuffle" { expect(mem.eql(i32, ([4]i32)(res), [4]i32{ 2147483647, 3, -2, 4 })); // bool + // Disabled because of #3317 if (@import("builtin").arch != .mipsel) { var x2: @Vector(4, bool) = [4]bool{ false, true, false, true }; var v4: @Vector(2, bool) = [2]bool{ true, false };