Lightpanda: the headless browser designed for AI and automation
test: keep the failing test in the summary on fail-first
Adrià Arrufat60b3b2bc2033
diff --git a/src/test_runner.zig b/src/test_runner.zigindex 182e4b4fa..c7d79ed78 100644--- a/src/test_runner.zig+++ b/src/test_runner.zig@@ -210,11 +210,11 @@ const Runner = struct {if (@errorReturnTrace()) |trace| {std.debug.dumpErrorReturnTrace(trace);}+ try fail_list.append(self.allocator, try self.allocator.dupe(u8, friendly_name));if (self.env.fail_first) {if (claim) |*c| c.stop();break;}- try fail_list.append(self.allocator, try self.allocator.dupe(u8, friendly_name));},}