From b394bb1b87321da7dba9e3164055e2eab78d7c00 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 27 Jan 2021 10:01:53 +0100 Subject: [PATCH] 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. --- appveyor.yml | 3 --- build/tools/appveyor-test.bat | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 11516ab67f..271adefbc4 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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 ---" diff --git a/build/tools/appveyor-test.bat b/build/tools/appveyor-test.bat index f0319c16ed..1a2e41566c 100755 --- a/build/tools/appveyor-test.bat +++ b/build/tools/appveyor-test.bat @@ -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