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" {
24122412 // https://github.com/ziglang/zig/issues/4486
24132413 return error.SkipZigTest;
24142414 }
2415 if (builtin.target.cpu.arch == .wasm32) {
2416 // https://github.com/ziglang/zig/issues/5339
2417 return error.SkipZigTest;
2418 }
24192415
24202416 const vbool: std.meta.Vector(4, bool) = [_]bool{ true, false, true, false };
24212417 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;
55const Vector = std.meta.Vector;
66
77test "@shuffle" {
8 // TODO investigate why this fails when cross-compiling to wasm.
9 if (builtin.os.tag == .wasi) return error.SkipZigTest;
10
118 const S = struct {
129 fn doTheTest() !void {
1310 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" {
412412}
413413
414414test "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
418415 const S = struct {
419416 fn doTheTestShift(x: anytype, y: anytype) !void {
420417 const N = @typeInfo(@TypeOf(x)).Array.len;