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

valgrind tests: skip C warnings for now

This commit is contained in:
Alexander Medvednikov 2020-03-25 21:46:46 +01:00
parent 3b4e0147cd
commit 89a05a474f

View File

@ -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 -verbose=3 -b v2 -csource keep -cg $wrkdir/x.v') or { res := os.exec('$vexe -cflags "-w" -verbose=3 -b v2 -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