diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2020-05-28 11:20:50 +0200 |
---|---|---|
committer | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2020-06-02 11:34:32 +0200 |
commit | d805b83166538907535862372c16ff6ceb648b21 (patch) | |
tree | 4e1ee855dda4227959632268a696d8f0d869c999 /appveyor.yml | |
parent | 23ccae80bd58adfe89e3e345414684eb82bdb531 (diff) | |
download | openssl-d805b83166538907535862372c16ff6ceb648b21.tar.gz |
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 <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/11981)
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml index 949d6aad50..ccca8bb22c 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" } |