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-09 23:54:23-04:00
loge8e305b67ce4993a3789e0e3e8baa6064de45114
tree7d1cb12b957d3603f3367931b6aa1d5b82ef6c6a
parent5e63baae8d2dbe4dd523ec9f67d90080686c43ae

Re-enable multiple wasm32 vector tests

Fixes #5339

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

lib/std/fmt.zig-4
...@@ -2412,10 +2412,6 @@ test "vector" {...@@ -2412,10 +2412,6 @@ test "vector" {
2412 // https://github.com/ziglang/zig/issues/44862412 // https://github.com/ziglang/zig/issues/4486
2413 return error.SkipZigTest;2413 return error.SkipZigTest;
2414 }2414 }
2415 if (builtin.target.cpu.arch == .wasm32) {
2416 // https://github.com/ziglang/zig/issues/5339
2417 return error.SkipZigTest;
2418 }
24192415
2420 const vbool: std.meta.Vector(4, bool) = [_]bool{ true, false, true, false };2416 const vbool: std.meta.Vector(4, bool) = [_]bool{ true, false, true, false };
2421 const vi64: std.meta.Vector(4, i64) = [_]i64{ -2, -1, 0, 1 };2417 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;