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" {
319319 }
320320
321321 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) {
323324 doTheTestDiv(f16, [4]f16{ 4.0, -4.0, 4.0, -4.0 }, [4]f16{ 1.0, 2.0, -1.0, -2.0 });
325 }
326
324327 doTheTestDiv(f32, [4]f32{ 4.0, -4.0, 4.0, -4.0 }, [4]f32{ 1.0, 2.0, -1.0, -2.0 });
325328 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) {
328332 doTheTestMod(f16, [4]f16{ 4.0, -4.0, 4.0, -4.0 }, [4]f16{ 1.0, 2.0, 0.5, 3.0 });
333 }
329334 doTheTestMod(f32, [4]f32{ 4.0, -4.0, 4.0, -4.0 }, [4]f32{ 1.0, 2.0, 0.5, 3.0 });
330335 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" {
440445 }
441446 };
442447
443 // LLVM miscompiles pretty much every case on other architectures so don't
444 // even bother running this test
445 if (std.builtin.arch != .x86_64) return error.SkipZigTest;
448 switch (std.builtin.arch) {
449 .i386,
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
447471 S.doTheTest();
448472 comptime S.doTheTest();