Add comments about the test cases that have been disabled

This commit is contained in:
LemonBoy 2019-09-26 17:42:58 +02:00
parent c8e4108c5b
commit dfb4446d09
3 changed files with 3 additions and 0 deletions

View File

@ -355,6 +355,7 @@ test "testHash union" {
} }
test "testHash vector" { test "testHash vector" {
// Disabled because of #3317
if (@import("builtin").arch == .mipsel) return error.SkipZigTest; if (@import("builtin").arch == .mipsel) return error.SkipZigTest;
const a: @Vector(4, u32) = [_]u32{ 1, 2, 3, 4 }; const a: @Vector(4, u32) = [_]u32{ 1, 2, 3, 4 };

View File

@ -39,6 +39,7 @@ test "@byteSwap integers" {
} }
test "@byteSwap vectors" { test "@byteSwap vectors" {
// Disabled because of #3317
if (@import("builtin").arch == .mipsel) return error.SkipZigTest; if (@import("builtin").arch == .mipsel) return error.SkipZigTest;
const ByteSwapVectorTest = struct { const ByteSwapVectorTest = struct {

View File

@ -33,6 +33,7 @@ test "@shuffle" {
expect(mem.eql(i32, ([4]i32)(res), [4]i32{ 2147483647, 3, -2, 4 })); expect(mem.eql(i32, ([4]i32)(res), [4]i32{ 2147483647, 3, -2, 4 }));
// bool // bool
// Disabled because of #3317
if (@import("builtin").arch != .mipsel) { if (@import("builtin").arch != .mipsel) {
var x2: @Vector(4, bool) = [4]bool{ false, true, false, true }; var x2: @Vector(4, bool) = [4]bool{ false, true, false, true };
var v4: @Vector(2, bool) = [2]bool{ true, false }; var v4: @Vector(2, bool) = [2]bool{ true, false };