Re-enable multiple wasm32 vector tests

Fixes #5339
This commit is contained in:
Jakub Konka 2021-06-09 23:11:34 +02:00 committed by Andrew Kelley
parent 5e63baae8d
commit e8e305b67c
3 changed files with 0 additions and 10 deletions

View File

@ -2412,10 +2412,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 };

View File

@ -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 };

View File

@ -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;