| author | |
| committer | |
| log | 9ad29fbc6c594f4474919020a3c796d64ab38455 |
| tree | 6045b9a0ae1173946f6947cb84dd5df2da3e138c |
| parent | 555086b1f33f8dc8933c8de989a413b316296cd7 |
See #35517
See #35518
See #35519
See #35520
See #35521
See #35522
See #35523
See #355375 files changed, 47 insertions(+), 8 deletions(-)
lib/std/math.zig+5| ... | ... | @@ -461,6 +461,11 @@ pub fn wrap(x: anytype, r: anytype) @TypeOf(x) { |
| 461 | 461 | } |
| 462 | 462 | } |
| 463 | 463 | test wrap { |
| 464 | if (builtin.os.tag == .windows and builtin.cpu.arch == .x86) { | |
| 465 | // https://codeberg.org/ziglang/zig/issues/35520 | |
| 466 | return error.SkipZigTest; | |
| 467 | } | |
| 468 | ||
| 464 | 469 | // Within range |
| 465 | 470 | try testing.expect(wrap(@as(i32, -75), @as(i32, 180)) == -75); |
| 466 | 471 | try testing.expect(wrap(@as(i32, -75), @as(i32, -180)) == -75); |
lib/std/math/isnan.zig+5| ... | ... | @@ -29,6 +29,11 @@ test isNan { |
| 29 | 29 | test isSignalNan { |
| 30 | 30 | if (builtin.zig_backend == .stage2_x86_64 and builtin.object_format == .coff and builtin.abi != .gnu) return error.SkipZigTest; |
| 31 | 31 | |
| 32 | if (builtin.os.tag == .windows) { | |
| 33 | // https://codeberg.org/ziglang/zig/issues/35519 | |
| 34 | return error.SkipZigTest; | |
| 35 | } | |
| 36 | ||
| 32 | 37 | inline for ([_]type{ f16, f32, f64, f80, f128, c_longdouble }) |T| { |
| 33 | 38 | // TODO: Signalling NaN values get converted to quiet NaN values in |
| 34 | 39 | // some cases where they shouldn't such that this can fail. |
test/behavior/align.zig+5| ... | ... | @@ -29,6 +29,11 @@ test "large alignment of local constant" { |
| 29 | 29 | if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest; // flaky |
| 30 | 30 | if (builtin.zig_backend == .stage2_c and builtin.target.abi == .msvc) return error.SkipZigTest; |
| 31 | 31 | |
| 32 | if (builtin.zig_backend == .stage2_x86_64 and builtin.os.tag == .windows) { | |
| 33 | // https://codeberg.org/ziglang/zig/issues/35537 | |
| 34 | return error.SkipZigTest; | |
| 35 | } | |
| 36 | ||
| 32 | 37 | const x: f32 align(128) = 12.34; |
| 33 | 38 | try std.testing.expect(@intFromPtr(&x) % 128 == 0); |
| 34 | 39 | } |
test/behavior/floatop.zig+5| ... | ... | @@ -948,6 +948,11 @@ test "@log2 with vectors" { |
| 948 | 948 | builtin.cpu.arch == .aarch64 and |
| 949 | 949 | builtin.os.tag == .windows) return error.SkipZigTest; |
| 950 | 950 | |
| 951 | if (builtin.os.tag == .windows and builtin.cpu.arch == .x86) { | |
| 952 | // https://codeberg.org/ziglang/zig/issues/35518 | |
| 953 | return error.SkipZigTest; | |
| 954 | } | |
| 955 | ||
| 951 | 956 | try testLog2WithVectors(); |
| 952 | 957 | try comptime testLog2WithVectors(); |
| 953 | 958 | } |
test/tests.zig+27-8| ... | ... | @@ -1611,6 +1611,8 @@ const module_test_targets = blk: { |
| 1611 | 1611 | .abi = .msvc, |
| 1612 | 1612 | }, |
| 1613 | 1613 | .link_libc = true, |
| 1614 | // https://codeberg.org/ziglang/zig/issues/35517 | |
| 1615 | .skip_modules = &.{"libc"}, | |
| 1614 | 1616 | }, |
| 1615 | 1617 | .{ |
| 1616 | 1618 | .target = .{ |
| ... | ... | @@ -1626,6 +1628,8 @@ const module_test_targets = blk: { |
| 1626 | 1628 | .abi = .gnu, |
| 1627 | 1629 | }, |
| 1628 | 1630 | .link_libc = true, |
| 1631 | // https://codeberg.org/ziglang/zig/issues/35517 | |
| 1632 | .skip_modules = &.{"libc"}, | |
| 1629 | 1633 | }, |
| 1630 | 1634 | |
| 1631 | 1635 | .{ |
| ... | ... | @@ -1636,6 +1640,8 @@ const module_test_targets = blk: { |
| 1636 | 1640 | }, |
| 1637 | 1641 | .use_llvm = false, |
| 1638 | 1642 | .use_lld = false, |
| 1643 | // https://codeberg.org/ziglang/zig/issues/35537 | |
| 1644 | .skip_modules = &.{"behavior"}, | |
| 1639 | 1645 | }, |
| 1640 | 1646 | .{ |
| 1641 | 1647 | .target = .{ |
| ... | ... | @@ -1651,6 +1657,8 @@ const module_test_targets = blk: { |
| 1651 | 1657 | .abi = .msvc, |
| 1652 | 1658 | }, |
| 1653 | 1659 | .link_libc = true, |
| 1660 | // https://codeberg.org/ziglang/zig/issues/35517 | |
| 1661 | .skip_modules = &.{"libc"}, | |
| 1654 | 1662 | }, |
| 1655 | 1663 | .{ |
| 1656 | 1664 | .target = .{ |
| ... | ... | @@ -1991,13 +1999,14 @@ const c_abi_targets = blk: { |
| 1991 | 1999 | |
| 1992 | 2000 | // Windows Targets |
| 1993 | 2001 | |
| 1994 | .{ | |
| 1995 | .target = .{ | |
| 1996 | .cpu_arch = .x86, | |
| 1997 | .os_tag = .windows, | |
| 1998 | .abi = .gnu, | |
| 1999 | }, | |
| 2000 | }, | |
| 2002 | // https://codeberg.org/ziglang/zig/issues/35521 | |
| 2003 | //.{ | |
| 2004 | // .target = .{ | |
| 2005 | // .cpu_arch = .x86, | |
| 2006 | // .os_tag = .windows, | |
| 2007 | // .abi = .gnu, | |
| 2008 | // }, | |
| 2009 | //}, | |
| 2001 | 2010 | .{ |
| 2002 | 2011 | .target = .{ |
| 2003 | 2012 | .cpu_arch = .x86_64, |
| ... | ... | @@ -2117,7 +2126,7 @@ pub fn isNative(actual_target: *const std.Build.ResolvedTarget, host: *const std |
| 2117 | 2126 | .slow_unaligned_mem_16, |
| 2118 | 2127 | .slow_unaligned_mem_32, |
| 2119 | 2128 | }), |
| 2120 | .aarch64 => std.Target.aarch64.featureSet(&.{ | |
| 2129 | .aarch64, .aarch64_be => std.Target.aarch64.featureSet(&.{ | |
| 2121 | 2130 | .addr_lsl_slow_14, |
| 2122 | 2131 | .alu_lsl_fast, |
| 2123 | 2132 | .avoid_ldapur, |
| ... | ... | @@ -2627,6 +2636,16 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step { |
| 2627 | 2636 | |
| 2628 | 2637 | const target = &resolved_target.result; |
| 2629 | 2638 | |
| 2639 | if (target.cpu.arch == .powerpc64le and target.ofmt == .c) { | |
| 2640 | // https://codeberg.org/ziglang/zig/issues/35522 | |
| 2641 | continue; | |
| 2642 | } | |
| 2643 | ||
| 2644 | if (target.cpu.arch == .s390x and target.ofmt == .c) { | |
| 2645 | // https://codeberg.org/ziglang/zig/issues/35523 | |
| 2646 | continue; | |
| 2647 | } | |
| 2648 | ||
| 2630 | 2649 | if (std.mem.eql(u8, options.name, "libc")) { |
| 2631 | 2650 | // The libc API tests obviously need to link libc. So for test |
| 2632 | 2651 | // target entries where we wouldn't link libc by default, skip the |