File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ const l2w_crosscc = os.find_abs_path_of_executable('x86_64-w64-mingw32-gcc-win32
2727const clang_path = os.find_abs_path_of_executable ('clang' ) or { '' }
2828
2929fn main () {
30+ unbuffer_stdout ()
3031 mut commands := get_all_commands ()
3132 // summary
3233 sw := time.new_stopwatch ()
@@ -36,10 +37,8 @@ fn main() {
3637 spent := sw.elapsed ().milliseconds ()
3738 oks := commands.filter (it .ecode == 0 )
3839 fails := commands.filter (it .ecode != 0 )
39- flush_stdout ()
4040 println ('' )
4141 println (term.header_left (term_highlight ('Summary of `v test-all`:' ), '-' ))
42- println (term_highlight ('Total runtime: ${spent} ms' ))
4342 for ocmd in oks {
4443 msg := if ocmd.okmsg != '' { ocmd.okmsg } else { ocmd.line }
4544 println (term.colorize (term.green, '> OK: ${msg} ' ))
@@ -48,7 +47,7 @@ fn main() {
4847 msg := if fcmd.errmsg != '' { fcmd.errmsg } else { fcmd.line }
4948 println (term.failed ('> Failed:' ) + ' ${msg} ' )
5049 }
51- flush_stdout ( )
50+ println ( term_highlight ( 'Total runtime: ${spent} ms' ) )
5251 if fails.len > 0 {
5352 exit (1 )
5453 }
You can’t perform that action at this time.
0 commit comments