mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
Merge pull request #25147 from lunagl/reenable-tests
Reenable failing vector tests
This commit is contained in:
commit
9fa2394f8c
3 changed files with 0 additions and 11 deletions
|
|
@ -1210,12 +1210,6 @@ test "positional/alignment/width/precision" {
|
|||
}
|
||||
|
||||
test "vector" {
|
||||
if ((builtin.cpu.arch == .armeb or builtin.cpu.arch == .thumbeb) and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/22060
|
||||
if (builtin.target.cpu.arch == .riscv64) {
|
||||
// https://github.com/ziglang/zig/issues/4486
|
||||
return error.SkipZigTest;
|
||||
}
|
||||
|
||||
const vbool: @Vector(4, bool) = [_]bool{ true, false, true, false };
|
||||
const vi64: @Vector(4, i64) = [_]i64{ -2, -1, 0, 1 };
|
||||
const vu64: @Vector(4, u64) = [_]u64{ 1000, 2000, 3000, 4000 };
|
||||
|
|
|
|||
|
|
@ -448,7 +448,6 @@ pub fn prefixScan(comptime op: std.builtin.ReduceOp, comptime hop: isize, vec: a
|
|||
}
|
||||
|
||||
test "vector prefix scan" {
|
||||
if ((builtin.cpu.arch == .armeb or builtin.cpu.arch == .thumbeb) and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/22060
|
||||
if (builtin.cpu.arch == .aarch64_be and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21893
|
||||
if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .hexagon) return error.SkipZigTest;
|
||||
|
||||
|
|
|
|||
|
|
@ -638,7 +638,6 @@ test "vector division operators" {
|
|||
};
|
||||
|
||||
try comptime S.doTheTest();
|
||||
if ((builtin.cpu.arch == .armeb or builtin.cpu.arch == .thumbeb) and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/22060
|
||||
if (builtin.cpu.arch == .hexagon and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest;
|
||||
try S.doTheTest();
|
||||
}
|
||||
|
|
@ -1119,7 +1118,6 @@ test "@addWithOverflow" {
|
|||
}
|
||||
};
|
||||
try comptime S.doTheTest();
|
||||
if ((builtin.cpu.arch == .armeb or builtin.cpu.arch == .thumbeb) and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/22060
|
||||
try S.doTheTest();
|
||||
}
|
||||
|
||||
|
|
@ -1153,7 +1151,6 @@ test "@subWithOverflow" {
|
|||
}
|
||||
};
|
||||
try comptime S.doTheTest();
|
||||
if ((builtin.cpu.arch == .armeb or builtin.cpu.arch == .thumbeb) and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/22060
|
||||
try S.doTheTest();
|
||||
}
|
||||
|
||||
|
|
@ -1176,7 +1173,6 @@ test "@mulWithOverflow" {
|
|||
}
|
||||
};
|
||||
try comptime S.doTheTest();
|
||||
if ((builtin.cpu.arch == .armeb or builtin.cpu.arch == .thumbeb) and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/22060
|
||||
try S.doTheTest();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue