From dfb4446d091b3db21d0ce953d76948788e7feb89 Mon Sep 17 00:00:00 2001 From: LemonBoy Date: Thu, 26 Sep 2019 17:42:58 +0200 Subject: [PATCH] Add comments about the test cases that have been disabled --- lib/std/hash/auto_hash.zig | 1 + test/stage1/behavior/byteswap.zig | 1 + test/stage1/behavior/shuffle.zig | 1 + 3 files changed, 3 insertions(+) diff --git a/lib/std/hash/auto_hash.zig b/lib/std/hash/auto_hash.zig index 7018df5414..3a4abcbcd9 100644 --- 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 index ab7265bf77..449fad67ae 100644 --- 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 index fc8c2b56de..a8daf6557a 100644 --- 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 };