diff options
author | Andy Polyakov <appro@openssl.org> | 2017-03-02 14:07:45 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2017-03-04 23:18:47 +0100 |
commit | 6356716ac09d94a0c85fd6e5ad12f088c54d75c0 (patch) | |
tree | 208a698d9db2f085bfc9a17a153a20ab41df8256 /appveyor.yml | |
parent | 8b0d4242404f9e5da26e7594fa0864b2df4601af (diff) | |
download | openssl-6356716ac09d94a0c85fd6e5ad12f088c54d75c0.tar.gz |
appveyor.yml: call upon cmd to redirect stderr.
If stderr is not redirected an uncatchable exception is thrown.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/appveyor.yml b/appveyor.yml index 9c896fc810..a5d05c6bdc 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -33,7 +33,8 @@ before_build: - perl ..\Configure %TARGET% %SHARED% - cd .. - ps: >- - if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER -or (&git log -2 | Select-String "\[extended tests\]") ) { + if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER` + -or (&git log -2 | Select-String "\[extended tests\]") ) { $env:EXTENDED_TESTS="yes" } @@ -41,7 +42,7 @@ build_script: - ps: >- If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) { cd _build - &nmake + cmd /c "nmake 2>&1" cd .. } @@ -50,11 +51,11 @@ test_script: If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) { cd _build if ($env:EXTENDED_TESTS) { - &nmake test V=1 + cmd /c "nmake test V=1 2>&1" mkdir ..\_install - &nmake install install_docs DESTDIR=..\_install + cmd /c "nmake install install_docs DESTDIR=..\_install 2>&1" } Else { - &nmake test V=1 TESTS=-test_fuzz + cmd /c "nmake test V=1 TESTS=-test_fuzz 2>&1" } cd .. } |