mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
testing: fix v -stats test folder/
not failing for a _test.v that fails (#21483)
This commit is contained in:
parent
776e7ad0b1
commit
0e2b6041b8
5 changed files with 108 additions and 11 deletions
|
@ -536,7 +536,11 @@ fn worker_trunner(mut p pool.PoolProcessor, idx int, thread_id int) voidptr {
|
|||
}
|
||||
}
|
||||
|
||||
cmd := '${os.quoted_path(ts.vexe)} -skip-running ${cmd_options.join(' ')} ${os.quoted_path(file)}'
|
||||
mut skip_running := '-skip-running'
|
||||
if ts.show_stats {
|
||||
skip_running = ''
|
||||
}
|
||||
cmd := '${os.quoted_path(ts.vexe)} ${skip_running} ${cmd_options.join(' ')} ${os.quoted_path(file)}'
|
||||
run_cmd := if run_js {
|
||||
'node ${os.quoted_path(generated_binary_fpath)}'
|
||||
} else {
|
||||
|
@ -558,8 +562,6 @@ fn worker_trunner(mut p pool.PoolProcessor, idx int, thread_id int) voidptr {
|
|||
mut compile_cmd_duration := time.Duration(0)
|
||||
mut cmd_duration := time.Duration(0)
|
||||
if ts.show_stats {
|
||||
ts.reporter.divider()
|
||||
|
||||
ts.append_message(.cmd_begin, cmd, mtc)
|
||||
d_cmd := time.new_stopwatch()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue