#std.debug.print, std.log.info print nothing in test

1 messages · Page 1 of 1 (latest)

reef wyvern
#

In my zig source file, I have what's the equivalent of the following:

test {
  std.debug.print("made it here", .{});
  std.log.info("made it here", .{});
}

However, nothing I try to print shows up when I run zig build test so I can't debug why my test is actually failing. I can include the full file if that would help.

subtle wolf
#

if you want that to show up you can set std.testing.log_level = .info

reef wyvern
#

still nothing for some reason

subtle wolf
#

it looks like there are other compilation errors

reef wyvern
#

There are but I tihnk they're just related to the test result failing