mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
testing: refactor the v test implementation to make supporting different output modes easier
This commit is contained in:
@@ -66,9 +66,9 @@ fn main() {
|
||||
exit(1)
|
||||
}
|
||||
}
|
||||
testing.header('Testing...')
|
||||
ts.session_start('Testing...')
|
||||
ts.test()
|
||||
println(ts.benchmark.total_message('all V _test.v files'))
|
||||
ts.session_stop('all V _test.v files')
|
||||
if ts.failed_cmds.len > 0 {
|
||||
exit(1)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user