[openssl-commits] [openssl] master update

Andy Polyakov appro at openssl.org
Sat Apr 8 08:56:23 UTC 2017


The branch master has been updated
       via  3de47fb2c56e497873572a22167e3a7619ff0425 (commit)
      from  2f61bc2ea306c059d8b00ddf32025a0b30346d8f (commit)


- Log -----------------------------------------------------------------
commit 3de47fb2c56e497873572a22167e3a7619ff0425
Author: Andy Polyakov <appro at openssl.org>
Date:   Fri Apr 7 14:27:54 2017 +0200

    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 at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 appveyor.yml | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/appveyor.yml b/appveyor.yml
index a5d05c6..f2eab32 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


More information about the openssl-commits mailing list