The branch OpenSSL_1_1_1-stable has been updated
       via  3476de9199c1079162399eeb858a8580ef478b18 (commit)
      from  3fc83feae0bc3fcfbb7cfc8a927bb4a888a7663b (commit)


- Log -----------------------------------------------------------------
commit 3476de9199c1079162399eeb858a8580ef478b18
Author: Bernd Edlinger <bernd.edlin...@hotmail.de>
Date:   Thu May 28 11:20:50 2020 +0200

    Prevent extended tests run unexpectedly in appveyor
    
    Reason turns out that "git log -2" is picking up a merge
    commit and a random commit message from the master branch.
    
    Restore the expected behavior by using
    git log -1 $env:APPVEYOR_PULL_REQUEST_HEAD_COMMIT
    
    Reviewed-by: Tomas Mraz <tm...@fedoraproject.org>
    (Merged from https://github.com/openssl/openssl/pull/11981)
    
    (cherry picked from commit d805b83166538907535862372c16ff6ceb648b21)

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

Summary of changes:
 appveyor.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/appveyor.yml b/appveyor.yml
index 242d6a9ffe..6210391f20 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -46,7 +46,8 @@ before_build:
     - cd ..
     - ps: >-
         if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER`
-            -or (&git log -2 | Select-String "\[extended tests\]") ) {
+            -or (&git log -1 $env:APPVEYOR_PULL_REQUEST_HEAD_COMMIT |
+                 Select-String "\[extended tests\]") ) {
             $env:EXTENDED_TESTS="yes"
         }
 

Reply via email to