diff options
| author | OpportunityLiu <[email protected]> | 2019-06-06 19:55:15 +0800 |
|---|---|---|
| committer | OpportunityLiu <[email protected]> | 2019-06-06 19:55:15 +0800 |
| commit | 9411dfe71fcbb8048e93d954f5004850beec8b30 (patch) | |
| tree | df4211c2f93a4c39513fe89c5bd60bfda1fa6103 | |
| parent | 066367227227591183296ee131a8fb532005d166 (diff) | |
fix stdout
| -rw-r--r-- | .appveyor.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index 30668b255..03752747f 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -33,8 +33,8 @@ test_script: xmake --version 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 + $results = xmake lua --verbose --diagnosis tests\test.lua 2>&1 + $stdout = [string]::Join("`n", $results) $outcome = if ($?) { "Passed" } else { "Failed" } } Update-AppveyorTest -Name "tests" -Framework "xmake-test" -FileName ./tests/test.lua -Outcome $outcome -Duration $time.TotalMilliseconds -StdOut $stdout |
