1
0
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:
Delyan Angelov
2022-12-02 13:45:33 +02:00
parent e419faf746
commit d09c8c914b
8 changed files with 399 additions and 65 deletions

View File

@@ -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)
}