authorgravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2021-06-09 23:11:34+02:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-06-10 10:21:13-07:00
logf677c247401388681e9d14aad536bee38c3a9222
treeeb1acc4977eaa3fddc193d41d497e49ea80baea1
parent6afdc3cc790a2d587898e268ba3d1d7f38042da9

Re-enable multiple wasm32 vector tests

Fixes #5339

3 files changed, 0 insertions(+), 10 deletions(-)

lib/std/fmt.zig-4
...@@ -2392,10 +2392,6 @@ test "vector" {...@@ -2392,10 +2392,6 @@ test "vector" {
2392 // https://github.com/ziglang/zig/issues/44862392 // https://github.com/ziglang/zig/issues/4486
2393 return error.SkipZigTest;2393 return error.SkipZigTest;
2394 }2394 }
2395 if (builtin.target.cpu.arch == .wasm32) {
2396 // https://github.com/ziglang/zig/issues/5339
2397 return error.SkipZigTest;
2398 }
23992395
2400 const vbool: std.meta.Vector(4, bool) = [_]bool{ true, false, true, false };2396 const vbool: std.meta.Vector(4, bool) = [_]bool{ true, false, true, false };
2401 const vi64: std.meta.Vector(4, i64) = [_]i64{ -2, -1, 0, 1 };2397 const vi64: std.meta.Vector(4, i64) = [_]i64{ -2, -1, 0, 1 };
test/behavior/shuffle.zig-3
...@@ -5,9 +5,6 @@ const expect = std.testing.expect;...@@ -5,9 +5,6 @@ const expect = std.testing.expect;
5const Vector = std.meta.Vector;5const Vector = std.meta.Vector;
66
7test "@shuffle" {7test "@shuffle" {
8 // TODO investigate why this fails when cross-compiling to wasm.
9 if (builtin.os.tag == .wasi) return error.SkipZigTest;
10
11 const S = struct {8 const S = struct {
12 fn doTheTest() !void {9 fn doTheTest() !void {
13 var v: Vector(4, i32) = [4]i32{ 2147483647, -2, 30, 40 };10 var v: Vector(4, i32) = [4]i32{ 2147483647, -2, 30, 40 };
test/behavior/vector.zig-3
...@@ -412,9 +412,6 @@ test "vector bitwise not operator" {...@@ -412,9 +412,6 @@ test "vector bitwise not operator" {
412}412}
413413
414test "vector shift operators" {414test "vector shift operators" {
415 // TODO investigate why this fails when cross-compiled to wasm.
416 if (builtin.target.os.tag == .wasi) return error.SkipZigTest;
417
418 const S = struct {415 const S = struct {
419 fn doTheTestShift(x: anytype, y: anytype) !void {416 fn doTheTestShift(x: anytype, y: anytype) !void {
420 const N = @typeInfo(@TypeOf(x)).Array.len;417 const N = @typeInfo(@TypeOf(x)).Array.len;