diff options
author | Andy Polyakov <appro@openssl.org> | 2017-04-07 14:27:54 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2017-04-08 10:55:32 +0200 |
commit | 3de47fb2c56e497873572a22167e3a7619ff0425 (patch) | |
tree | 41544d8c5aacf862d97b3ec98b96f9c8f86f0fc8 | |
parent | 2f61bc2ea306c059d8b00ddf32025a0b30346d8f (diff) |
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>
-rw-r--r-- | appveyor.yml | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/appveyor.yml b/appveyor.yml index a5d05c6bdc..f2eab32953 100644 --- a/appveyor.yml +++ b/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 |