v test-vet: call testing.setup_new_vtmp_folder() before creating each new test session

pull/6674/head
Delyan Angelov 2020-10-24 17:19:58 +03:00
parent 23ee3018c3
commit a52314d70a
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ fn main() {
}
fn tsession(vargs string, tool_source string, tool_cmd string, tool_args string, flist []string, slist []string) testing.TestSession {
testing.setup_new_vtmp_folder()
util.prepare_tool_when_needed(tool_source)
testing.eheader('Run `$tool_cmd` over most .v files')
mut test_session := testing.new_test_session('$vargs $tool_args')