Skip to content

Commit 5e52f2e

Browse files
committed
tools: fix showing the *failed* compilation output with v -silent test .
1 parent af62364 commit 5e52f2e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd/tools/modules/testing/common.v

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,8 @@ fn worker_trunner(mut p pool.PoolProcessor, idx int, thread_id int) voidptr {
490490
skip_running = ''
491491
}
492492
reproduce_cmd := '${os.quoted_path(ts.vexe)} ${reproduce_options.join(' ')} ${os.quoted_path(file)}'
493-
cmd := '${os.quoted_path(ts.vexe)} ${skip_running} ${cmd_options.join(' ')} ${os.quoted_path(file)}'
493+
compile_options := cmd_options.filter(it != '-silent')
494+
cmd := '${os.quoted_path(ts.vexe)} ${skip_running} ${compile_options.join(' ')} ${os.quoted_path(file)}'
494495
run_cmd := if run_js {
495496
'node ${os.quoted_path(generated_binary_fpath)}'
496497
} else {

0 commit comments

Comments
 (0)