std.debug: disable sporadically failing test

see tracking issue #13963
This commit is contained in:
Andrew Kelley 2022-12-15 15:56:13 -07:00
parent 1704971666
commit 0d92fcf6a5

View File

@ -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();