mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
test runner: refresh display before running test
This makes it so that when a test fails quickly, and writes output, it will do so after the test name is printed.
This commit is contained in:
parent
16a91e6a45
commit
859cbef8a4
1 changed files with 1 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ pub fn main() anyerror!void {
|
|||
for (test_fn_list) |test_fn, i| {
|
||||
var test_node = root_node.start(test_fn.name, null);
|
||||
test_node.activate();
|
||||
progress.refresh();
|
||||
if (test_fn.func()) |_| {
|
||||
ok_count += 1;
|
||||
test_node.end();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue