diff options
| author | Matthew Lugg <mlugg@mlugg.co.uk> | 2025-10-18 09:36:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-18 09:36:32 +0100 |
| commit | 35d079051467cc5edbb80ce48cbaeb5bddc92850 (patch) | |
| tree | 373782f097d0da9b68d61da8bdb063a6180888d7 /lib/std/Build/Fuzz.zig | |
| parent | 337762114f575824a1ab793dca41a3d073aa17cd (diff) | |
| parent | 8f86ed78dac0d949905fa1fd81b54b2fb95d0868 (diff) | |
| download | zig-35d079051467cc5edbb80ce48cbaeb5bddc92850.tar.gz zig-35d079051467cc5edbb80ce48cbaeb5bddc92850.zip | |
Merge pull request #25029 from mlugg/unit-test-timing
build system: unit test enhancements
Contributes towards https://github.com/ziglang/zig/issues/19821, but does not close it, since the timeout currently cannot be modified per unit test.
Diffstat (limited to 'lib/std/Build/Fuzz.zig')
| -rw-r--r-- | lib/std/Build/Fuzz.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/Build/Fuzz.zig b/lib/std/Build/Fuzz.zig index 27c2f35d72..8281fc4726 100644 --- a/lib/std/Build/Fuzz.zig +++ b/lib/std/Build/Fuzz.zig @@ -178,7 +178,7 @@ fn rebuildTestsWorkerRunFallible(run: *Step.Run, gpa: Allocator, ttyconf: std.Io var buf: [256]u8 = undefined; const w = std.debug.lockStderrWriter(&buf); defer std.debug.unlockStderrWriter(); - build_runner.printErrorMessages(gpa, &compile.step, .{ .ttyconf = ttyconf }, w, false) catch {}; + build_runner.printErrorMessages(gpa, &compile.step, .{ .ttyconf = ttyconf }, w, .verbose, .indent) catch {}; } const rebuilt_bin_path = result catch |err| switch (err) { @@ -204,7 +204,7 @@ fn fuzzWorkerRun( var buf: [256]u8 = undefined; const w = std.debug.lockStderrWriter(&buf); defer std.debug.unlockStderrWriter(); - build_runner.printErrorMessages(gpa, &run.step, .{ .ttyconf = fuzz.ttyconf }, w, false) catch {}; + build_runner.printErrorMessages(gpa, &run.step, .{ .ttyconf = fuzz.ttyconf }, w, .verbose, .indent) catch {}; return; }, else => { |
