commit | b317501ac31205d0076a15cc98eeee5c4070d6fa | [log] [tgz] |
---|---|---|
author | Andrew Geissler <geissonator@yahoo.com> | Sun Sep 01 20:51:14 2019 -0500 |
committer | Andrew Geissler <geissonator@yahoo.com> | Thu Sep 12 14:55:53 2019 +0000 |
tree | 6508b69b72eacaf6a1e2b5554908ee7c00913846 | |
parent | d34cf3206c8d4977734338baad5b4c949b92ad47 [diff] |
mac: Use bash from user env path This patch series is to enable running the unit test framework on a macintosh computer. By default, mac comes with a /bin/bash version of 3.2. This version does not have some of the required features needed by the build-unit-test-docker.sh script (specifically the list of packages with PKG_REV). The workaround is to install a newer version of bash in /usr/local/bin/ and set that ahead in a users PATH. Recent mac os updates prevent even root from being able to change files in /bin/ so moving the bash from /usr/local/bin is not an option here. On Linux, the -xe can not be passed in via /usr/bin/env so set these within the script. Tested: Verified PKG_REV worked on a mac after this change Change-Id: I18c14b1abfb373f939fd57e38953dfd7e3c5513c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Build script for CI jobs in Jenkins.