From c30c76c28582e8aae3f2eae1215213380bf34f6c Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Fri, 24 Apr 2020 05:26:29 +0000 Subject: [PATCH] tests: fix x64 test --- vlib/v/gen/x64/tests/if.vv | 4 ++-- vlib/v/gen/x64/tests/x64_test.v | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vlib/v/gen/x64/tests/if.vv b/vlib/v/gen/x64/tests/if.vv index e160590691..e404da0875 100644 --- a/vlib/v/gen/x64/tests/if.vv +++ b/vlib/v/gen/x64/tests/if.vv @@ -46,6 +46,6 @@ fn args() { fn main() { test() - //loop() - args() + loop() + //args() } diff --git a/vlib/v/gen/x64/tests/x64_test.v b/vlib/v/gen/x64/tests/x64_test.v index 4223300201..86fe061f24 100644 --- a/vlib/v/gen/x64/tests/x64_test.v +++ b/vlib/v/gen/x64/tests/x64_test.v @@ -30,7 +30,7 @@ fn test_x64() { 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 - x := os.exec('$vexe -o exe -x64 $wrkdir/x.v') or { + os.exec('$vexe -o exe -x64 $wrkdir/x.v') or { bench.fail() eprintln(bench.step_message_fail('x64 $test failed')) continue