1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

tests: valgrind: use correct flag

This commit is contained in:
Alexander Medvednikov 2020-05-05 17:55:07 +00:00
parent 9e715b8701
commit fd0f8d06f8

View File

@ -33,7 +33,7 @@ fn test_all() {
full_test_path := os.real_path(test)
println('x.v: $wrkdir/x.v')
os.system('cp ${dir}/${test} $wrkdir/x.v') // cant run .vv file
res := os.exec('$vexe -cflags "-w" -verbose=3 -manual-free=false -csource keep -cg $wrkdir/x.v') or {
res := os.exec('$vexe -cflags "-w" -verbose=3 -autofree -csource keep -cg $wrkdir/x.v') or {
bench.fail()
eprintln(bench.step_message_fail('valgrind $test failed'))
continue