Skip to content

Commit 6ea8cae

Browse files
committed
cleanup .exe files after they are measured
1 parent 219fa1a commit 6ea8cae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

verify.v

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ fn vrun(v_file string) !(string, time.Duration, time.Duration) {
4545
sw_running := time.new_stopwatch()
4646
res := os.execute(run_cmd)
4747
run_time_took = sw_running.elapsed()
48+
os.rm(executable_name) or {}
4849
if res.exit_code != 0 {
4950
return error('could not run: `${executable_name}` in working folder: "${vdir}"')
5051
}

0 commit comments

Comments
 (0)