提交 6356716a 编写于 作者: A Andy Polyakov

appveyor.yml: call upon cmd to redirect stderr.

If stderr is not redirected an uncatchable exception is thrown.
Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 8b0d4242
......@@ -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 ..
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部