diff options
| author | OpportunityLiu <[email protected]> | 2019-06-06 19:48:56 +0800 |
|---|---|---|
| committer | OpportunityLiu <[email protected]> | 2019-06-06 19:48:56 +0800 |
| commit | 066367227227591183296ee131a8fb532005d166 (patch) | |
| tree | 2013d5ce25f603f63d74bb8d79aff5ebfecb94c2 | |
| parent | eb7d9a02a1a848a576f2f87943f252d3f7027c39 (diff) | |
fix test time
| -rw-r--r-- | .appveyor.yml | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
