Updated from OpenStack Ansible Tests

Change-Id: I9fbfce70c4479652ec6fc0707e00e7c5f48202f4
This commit is contained in:
OpenStack Proposal Bot 2019-07-18 22:17:22 +00:00
parent 69566a6ac1
commit 2955a45c18

View File

@ -65,7 +65,10 @@ case ${ID,,} in
esac esac
# Install git so that we can clone the tests repo if git is not available # Install git so that we can clone the tests repo if git is not available
which git &>/dev/null || eval sudo "${pkg_mgr_cmd}" git case ${ID,,} in
gentoo) which git &>/dev/null || eval sudo "${pkg_mgr_cmd}" dev-vcs/git ;;
*) which git &>/dev/null || eval sudo "${pkg_mgr_cmd}" git ;;
esac
# Clone the tests repo for access to the common test script # Clone the tests repo for access to the common test script
if [[ ! -d "${COMMON_TESTS_PATH}" ]]; then if [[ ! -d "${COMMON_TESTS_PATH}" ]]; then
@ -92,4 +95,3 @@ fi
# Execute the common test script # Execute the common test script
source tests/common/run_tests_common.sh source tests/common/run_tests_common.sh