summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpportunityLiu <[email protected]>2019-06-06 19:55:15 +0800
committerOpportunityLiu <[email protected]>2019-06-06 19:55:15 +0800
commit9411dfe71fcbb8048e93d954f5004850beec8b30 (patch)
treedf4211c2f93a4c39513fe89c5bd60bfda1fa6103
parent066367227227591183296ee131a8fb532005d166 (diff)
fix stdout
-rw-r--r--.appveyor.yml4
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