From 0d92fcf6a503780dcaadccef87e72824c7942a96 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 15 Dec 2022 15:56:13 -0700 Subject: [PATCH] std.debug: disable sporadically failing test see tracking issue #13963 --- lib/std/debug.zig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/std/debug.zig b/lib/std/debug.zig index 3043b4f4ca..b23f246cf7 100644 --- a/lib/std/debug.zig +++ b/lib/std/debug.zig @@ -2008,9 +2008,14 @@ pub fn dumpStackPointerAddr(prefix: []const u8) void { std.debug.print("{} sp = 0x{x}\n", .{ prefix, sp }); } -test "#4353: std.debug should manage resources correctly" { +test "manage resources correctly" { if (builtin.os.tag == .wasi) return error.SkipZigTest; + if (builtin.os.tag == .windows and builtin.cpu.arch == .x86_64) { + // https://github.com/ziglang/zig/issues/13963 + return error.SkipZigTest; + } + const writer = std.io.null_writer; var di = try openSelfDebugInfo(testing.allocator); defer di.deinit();