Redirect httpbin error output to the log file too

This can be at least as useful as stdout.
This commit is contained in:
Vadim Zeitlin 2021-01-27 10:04:09 +01:00
parent b394bb1b87
commit 4bdbbeca4a

View File

@ -75,7 +75,7 @@ before_test:
- ps: | - ps: |
Write-Output "Getting and launching httpbin." Write-Output "Getting and launching httpbin."
C:\Python35\Scripts\pip.exe --disable-pip-version-check --no-warn-script-location install httpbin C:\Python35\Scripts\pip.exe --disable-pip-version-check --no-warn-script-location install httpbin
Start-Job -Name wx_httpbin { C:\Python35\python.exe -m httpbin.core > c:\projects\wxwidgets\httpbin.log } Start-Job -Name wx_httpbin { C:\Python35\python.exe -m httpbin.core 2>&1 > c:\projects\wxwidgets\httpbin.log }
curl http://127.0.0.1:5000/ip curl http://127.0.0.1:5000/ip
$env:WX_TEST_WEBREQUEST_URL="http://127.0.0.1:5000" $env:WX_TEST_WEBREQUEST_URL="http://127.0.0.1:5000"