From 066367227227591183296ee131a8fb532005d166 Mon Sep 17 00:00:00 2001 From: OpportunityLiu Date: Thu, 6 Jun 2019 19:48:56 +0800 Subject: fix test time --- .appveyor.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index 8ccc26660..30668b255 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -34,7 +34,8 @@ test_script: Add-AppveyorTest -Name "tests" -Framework "xmake-test" -FileName ./tests/test.lua -Outcome Running $time = Measure-Command { $stdout = xmake lua --verbose --diagnosis tests\test.lua 2>&1 + Write-Host $stdout $outcome = if ($?) { "Passed" } else { "Failed" } } - Update-AppveyorTest -Name "tests" -Framework "xmake-test" -FileName ./tests/test.lua -Outcome $outcome -Duration $time.Milliseconds -StdOut $stdout + Update-AppveyorTest -Name "tests" -Framework "xmake-test" -FileName ./tests/test.lua -Outcome $outcome -Duration $time.TotalMilliseconds -StdOut $stdout -- cgit v1.3.1