Commit f677c24740

Jakub Konka <kubkon@jakubkonka.com>
2021-06-09 23:11:34
Re-enable multiple wasm32 vector tests
Fixes #5339
1 parent 6afdc3c
Changed files (3)
lib
test
lib/std/fmt.zig
@@ -2392,10 +2392,6 @@ test "vector" {
         // https://github.com/ziglang/zig/issues/4486
         return error.SkipZigTest;
     }
-    if (builtin.target.cpu.arch == .wasm32) {
-        // https://github.com/ziglang/zig/issues/5339
-        return error.SkipZigTest;
-    }
 
     const vbool: std.meta.Vector(4, bool) = [_]bool{ true, false, true, false };
     const vi64: std.meta.Vector(4, i64) = [_]i64{ -2, -1, 0, 1 };
test/behavior/shuffle.zig
@@ -5,9 +5,6 @@ const expect = std.testing.expect;
 const Vector = std.meta.Vector;
 
 test "@shuffle" {
-    // TODO investigate why this fails when cross-compiling to wasm.
-    if (builtin.os.tag == .wasi) return error.SkipZigTest;
-
     const S = struct {
         fn doTheTest() !void {
             var v: Vector(4, i32) = [4]i32{ 2147483647, -2, 30, 40 };
test/behavior/vector.zig
@@ -412,9 +412,6 @@ test "vector bitwise not operator" {
 }
 
 test "vector shift operators" {
-    // TODO investigate why this fails when cross-compiled to wasm.
-    if (builtin.target.os.tag == .wasi) return error.SkipZigTest;
-
     const S = struct {
         fn doTheTestShift(x: anytype, y: anytype) !void {
             const N = @typeInfo(@TypeOf(x)).Array.len;