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" {
23922392 // https://github.com/ziglang/zig/issues/4486
23932393 return error.SkipZigTest;
23942394 }
2395 if (builtin.target.cpu.arch == .wasm32) {
2396 // https://github.com/ziglang/zig/issues/5339
2397 return error.SkipZigTest;
2398 }
23992395
24002396 const vbool: std.meta.Vector(4, bool) = [_]bool{ true, false, true, false };
24012397 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;