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

ci: fix failing windows tests for v run -

This commit is contained in:
Delyan Angelov 2020-11-20 16:13:45 +02:00
parent 5d76e85a23
commit 93d460f8fc

View File

@ -13,7 +13,7 @@ fn pipe_to_v_run() ? {
tmp_v_file := os.join_path(os.temp_dir(), 'generated_piped_program.v')
os.write_file(tmp_v_file, 'println(1 + 3)\nprintln("hello")\n') ?
assert os.is_file(tmp_v_file)
cmd := '"$cat_cmd" "$tmp_v_file" | "$vexe" run -'
cmd := '$cat_cmd "$tmp_v_file" | "$vexe" run -'
res := os.exec(cmd) ?
// eprintln('>> cmd: $cmd | res: $res')
assert res.exit_code == 0