authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-04-05 18:33:47-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-04-05 18:34:32-04:00
loge84b9b70ff2814d6e50a851dc9f094b15399d2fe
tree638c7444a2f73fc304b662bf50329ccc18d2c86c
parent5597b11a527b4495bcb3001211e6ee3923c00f87
signaturelock-open Commit is signed but in an unrecognized format.

annotate disabled tests with github issue links


1 files changed, 29 insertions(+), 5 deletions(-)

test/stage1/behavior/vector.zig+29-5
...@@ -319,13 +319,18 @@ test "vector division operators" {...@@ -319,13 +319,18 @@ test "vector division operators" {
319 }319 }
320320
321 fn doTheTest() void {321 fn doTheTest() void {
322 if (std.builtin.os.tag != .windows)322 // https://github.com/ziglang/zig/issues/4952
323 if (std.builtin.os.tag != .windows) {
323 doTheTestDiv(f16, [4]f16{ 4.0, -4.0, 4.0, -4.0 }, [4]f16{ 1.0, 2.0, -1.0, -2.0 });324 doTheTestDiv(f16, [4]f16{ 4.0, -4.0, 4.0, -4.0 }, [4]f16{ 1.0, 2.0, -1.0, -2.0 });
325 }
326
324 doTheTestDiv(f32, [4]f32{ 4.0, -4.0, 4.0, -4.0 }, [4]f32{ 1.0, 2.0, -1.0, -2.0 });327 doTheTestDiv(f32, [4]f32{ 4.0, -4.0, 4.0, -4.0 }, [4]f32{ 1.0, 2.0, -1.0, -2.0 });
325 doTheTestDiv(f64, [4]f64{ 4.0, -4.0, 4.0, -4.0 }, [4]f64{ 1.0, 2.0, -1.0, -2.0 });328 doTheTestDiv(f64, [4]f64{ 4.0, -4.0, 4.0, -4.0 }, [4]f64{ 1.0, 2.0, -1.0, -2.0 });
326329
327 if (std.builtin.os.tag != .windows)330 // https://github.com/ziglang/zig/issues/4952
331 if (std.builtin.os.tag != .windows) {
328 doTheTestMod(f16, [4]f16{ 4.0, -4.0, 4.0, -4.0 }, [4]f16{ 1.0, 2.0, 0.5, 3.0 });332 doTheTestMod(f16, [4]f16{ 4.0, -4.0, 4.0, -4.0 }, [4]f16{ 1.0, 2.0, 0.5, 3.0 });
333 }
329 doTheTestMod(f32, [4]f32{ 4.0, -4.0, 4.0, -4.0 }, [4]f32{ 1.0, 2.0, 0.5, 3.0 });334 doTheTestMod(f32, [4]f32{ 4.0, -4.0, 4.0, -4.0 }, [4]f32{ 1.0, 2.0, 0.5, 3.0 });
330 doTheTestMod(f64, [4]f64{ 4.0, -4.0, 4.0, -4.0 }, [4]f64{ 1.0, 2.0, 0.5, 3.0 });335 doTheTestMod(f64, [4]f64{ 4.0, -4.0, 4.0, -4.0 }, [4]f64{ 1.0, 2.0, 0.5, 3.0 });
331336
...@@ -440,9 +445,28 @@ test "vector shift operators" {...@@ -440,9 +445,28 @@ test "vector shift operators" {
440 }445 }
441 };446 };
442447
443 // LLVM miscompiles pretty much every case on other architectures so don't448 switch (std.builtin.arch) {
444 // even bother running this test449 .i386,
445 if (std.builtin.arch != .x86_64) return error.SkipZigTest;450 .aarch64,
451 .aarch64_be,
452 .aarch64_32,
453 .arm,
454 .armeb,
455 .thumb,
456 .thumbeb,
457 .mips,
458 .mipsel,
459 .mips64,
460 .mips64el,
461 .riscv64,
462 .sparcv9,
463 => {
464 // LLVM miscompiles on this architecture
465 // https://github.com/ziglang/zig/issues/4951
466 return error.SkipZigTest;
467 },
468 else => {},
469 }
446470
447 S.doTheTest();471 S.doTheTest();
448 comptime S.doTheTest();472 comptime S.doTheTest();