From b4c94415e8c7ee24cb3f8c0ba6e0536282121adf Mon Sep 17 00:00:00 2001 From: OpportunityLiu Date: Thu, 6 Jun 2019 20:15:34 +0800 Subject: fix --- .appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index fe31e67fa..48a726de3 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -34,8 +34,8 @@ test_script: Add-AppveyorTest -Name "tests" -Framework "xmake-test" -FileName ./tests/test.lua -Outcome Running $time = Measure-Command { $results = xmake lua --verbose --diagnosis tests\test.lua 2>&1 - $stdout = [string]::Join("`n", $results) $outcome = if ($?) { "Passed" } else { "Failed" } + $stdout = [string]::Join("`n", $results) } Update-AppveyorTest -Name "tests" -Framework "xmake-test" -FileName ./tests/test.lua -Outcome $outcome -Duration $time.TotalMilliseconds -StdOut $stdout -- cgit v1.3.1