aboutsummaryrefslogtreecommitdiff
path: root/lib/std/debug.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-12-15 15:56:13 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-12-15 15:56:13 -0700
commit0d92fcf6a503780dcaadccef87e72824c7942a96 (patch)
tree2170331abc81e532d7469e21f9055b9bc5142af8 /lib/std/debug.zig
parent1704971666bce25add6b4f6e409658c5ce8b59aa (diff)
downloadzig-0d92fcf6a503780dcaadccef87e72824c7942a96.tar.gz
zig-0d92fcf6a503780dcaadccef87e72824c7942a96.zip
std.debug: disable sporadically failing test
see tracking issue #13963
Diffstat (limited to 'lib/std/debug.zig')
-rw-r--r--lib/std/debug.zig7
1 files changed, 6 insertions, 1 deletions
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();