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:
parent
2eaa7a21b0
commit
b394bb1b87
2 changed files with 3 additions and 3 deletions
|
|
@ -84,6 +84,3 @@ test_script: c:\projects\wxwidgets\build\tools\appveyor-test.bat
|
|||
after_test:
|
||||
- ps: |
|
||||
Stop-Job -Name wx_httpbin
|
||||
Write-Output "--- httpbin output ---"
|
||||
Get-Content c:\projects\wxwidgets\httpbin.log
|
||||
Write-Output "--- httpbin output end ---"
|
||||
|
|
|
|||
|
|
@ -59,4 +59,7 @@ goto :eof
|
|||
echo.
|
||||
echo !!! Non-GUI test failed.
|
||||
echo.
|
||||
echo --- httpbin output ---
|
||||
type c:\projects\wxwidgets\httpbin.log
|
||||
echo --- httpbin output end ---
|
||||
goto :eof
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue