tests: autofree: use -experimental flag
parent
0890562663
commit
789674bd5a
|
@ -50,8 +50,7 @@ fn test_all() {
|
|||
bench.set_total_expected_steps(tests.len)
|
||||
for test in tests {
|
||||
bench.step()
|
||||
exe_filename := '$wrkdir/x'
|
||||
if !test.starts_with('1.') {
|
||||
if !test.contains('1.') {
|
||||
bench.skip()
|
||||
eprintln(bench.step_message_skip(test))
|
||||
continue
|
||||
|
@ -65,8 +64,9 @@ fn test_all() {
|
|||
}
|
||||
}
|
||||
//
|
||||
exe_filename := '$wrkdir/x'
|
||||
full_path_to_source_file := os.join_path(vroot, test)
|
||||
compile_cmd := '$vexe -o $exe_filename -cg -cflags "-w" -autofree "$full_path_to_source_file"'
|
||||
compile_cmd := '$vexe -o $exe_filename -cg -cflags "-w" -experimental -autofree "$full_path_to_source_file"'
|
||||
vprintln('compile cmd: ${util.bold(compile_cmd)}')
|
||||
res := os.exec(compile_cmd) or {
|
||||
bench.fail()
|
||||
|
|
Loading…
Reference in New Issue