mirror of
https://github.com/openssl/openssl.git
synced 2025-03-19 19:50:42 +08:00
appveyor.yml: split {build,test}_scripts to avoid exit code masking.
Last modification effectively masked test failures, so that builds were reported successful even if they failed. Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
parent
2f61bc2ea3
commit
3de47fb2c5
15
appveyor.yml
15
appveyor.yml
@ -39,26 +39,29 @@ before_build:
|
||||
}
|
||||
|
||||
build_script:
|
||||
- cd _build
|
||||
- ps: >-
|
||||
If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) {
|
||||
cd _build
|
||||
cmd /c "nmake 2>&1"
|
||||
cd ..
|
||||
}
|
||||
- cd ..
|
||||
|
||||
test_script:
|
||||
- cd _build
|
||||
- ps: >-
|
||||
If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) {
|
||||
cd _build
|
||||
if ($env:EXTENDED_TESTS) {
|
||||
cmd /c "nmake test V=1 2>&1"
|
||||
mkdir ..\_install
|
||||
cmd /c "nmake install install_docs DESTDIR=..\_install 2>&1"
|
||||
} Else {
|
||||
cmd /c "nmake test V=1 TESTS=-test_fuzz 2>&1"
|
||||
}
|
||||
cd ..
|
||||
}
|
||||
- ps: >-
|
||||
if ($env:EXTENDED_TESTS) {
|
||||
mkdir ..\_install
|
||||
cmd /c "nmake install install_docs DESTDIR=..\_install 2>&1"
|
||||
}
|
||||
- cd ..
|
||||
|
||||
notifications:
|
||||
- provider: Email
|
||||
|
Loading…
x
Reference in New Issue
Block a user