Show httpbin output if the test failed, not if it succeeded

This output is mostly useful for diagnosing errors, so it's not very
useful to show it only after successful test completion in after_test
command.
This commit is contained in:
Vadim Zeitlin
2021-01-27 10:01:53 +01:00
parent 2eaa7a21b0
commit b394bb1b87
2 changed files with 3 additions and 3 deletions

View File

@@ -84,6 +84,3 @@ test_script: c:\projects\wxwidgets\build\tools\appveyor-test.bat
after_test: after_test:
- ps: | - ps: |
Stop-Job -Name wx_httpbin Stop-Job -Name wx_httpbin
Write-Output "--- httpbin output ---"
Get-Content c:\projects\wxwidgets\httpbin.log
Write-Output "--- httpbin output end ---"

View File

@@ -59,4 +59,7 @@ goto :eof
echo. echo.
echo !!! Non-GUI test failed. echo !!! Non-GUI test failed.
echo. echo.
echo --- httpbin output ---
type c:\projects\wxwidgets\httpbin.log
echo --- httpbin output end ---
goto :eof goto :eof