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

fix valgrind test

This commit is contained in:
Alexander Medvednikov 2020-04-02 10:44:35 +02:00
parent ce771c7a5a
commit d57b1ca962

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 -b v2 -csource keep -cg $wrkdir/x.v') or {
res := os.exec('$vexe -cflags "-w" -verbose=3 -manual-free=false -csource keep -cg $wrkdir/x.v') or {
bench.fail()
eprintln(bench.step_message_fail('valgrind $test failed'))
continue