mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
test runner: avoid spawning progress thread when instrumented
because it causes unwanted concurrent accesses to pc tracking
This commit is contained in:
parent
624fa8523a
commit
5c6f5e6cf2
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ fn mainTerminal() void {
|
|||
var skip_count: usize = 0;
|
||||
var fail_count: usize = 0;
|
||||
var fuzz_count: usize = 0;
|
||||
const root_node = std.Progress.start(.{
|
||||
const root_node = if (builtin.fuzz) std.Progress.Node.none else std.Progress.start(.{
|
||||
.root_name = "Test",
|
||||
.estimated_total_items = test_fn_list.len,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue