diff options
author | Richard Levitte <levitte@openssl.org> | 2020-02-26 14:57:39 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-03-04 12:55:57 +0100 |
commit | 6caf63ec4871a578f6f99c668b67e495ccc2bbf6 (patch) | |
tree | 6f3e2808b4b8015bc54d6b3c7d03fa72c6633979 /.travis.yml | |
parent | a8055c70fa0828636b99fe613a642a2066c0aa8b (diff) |
.travis.yml: where it matters, have build and source nesting levels differ
Where we build out of source, the source directory was _srcdist and
the build directory was _build. That gives the same nesting level for
both, which doesn't quite exercise all aspects of relative back
references from build to source tree.
Changing the build tree to be in _build/tree will challenge back
references a bit more, and ensure a bit more that we got it right.
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/11186)
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index a015eb4053..f77f8c7586 100644 --- a/.travis.yml +++ b/.travis.yml @@ -170,10 +170,10 @@ before_script: - if [ -n "$DESTDIR" ]; then sh .travis-create-release.sh $TRAVIS_OS_NAME; tar -xzf _srcdist.tar.gz; - mkdir _build; - cd _build; - srcdir=../_srcdist; - top=..; + mkdir -p _build/tree; + cd _build/tree; + srcdir=../../_srcdist; + top=../..; else srcdir=.; top=.; @@ -210,7 +210,7 @@ script: fi - top=${PWD} - if [ -n "$DESTDIR" ]; then - cd _build; + cd _build/tree; fi - if ! $make update; then echo -e '\052\052 FAILED -- MAKE UPDATE'; |