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:
parent
9e715b8701
commit
fd0f8d06f8
@ -33,7 +33,7 @@ fn test_all() {
|
|||||||
full_test_path := os.real_path(test)
|
full_test_path := os.real_path(test)
|
||||||
println('x.v: $wrkdir/x.v')
|
println('x.v: $wrkdir/x.v')
|
||||||
os.system('cp ${dir}/${test} $wrkdir/x.v') // cant run .vv file
|
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()
|
bench.fail()
|
||||||
eprintln(bench.step_message_fail('valgrind $test failed'))
|
eprintln(bench.step_message_fail('valgrind $test failed'))
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user