From 9683e1d419d2f7b847f50aa58085d945a3c9e6e9 Mon Sep 17 00:00:00 2001 From: OpenStack Proposal Bot Date: Wed, 27 Feb 2019 06:02:07 +0000 Subject: [PATCH] Updated from OpenStack Ansible Tests Change-Id: I255fb5cb940b1824209448bd2d3836dc72b8234a --- bindep.txt | 3 +++ run_tests.sh | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bindep.txt b/bindep.txt index 5a05c5a4..a62cff84 100644 --- a/bindep.txt +++ b/bindep.txt @@ -44,6 +44,9 @@ openssl-devel [platform:rpm] python-devel [platform:rpm] python2-dnf [platform:fedora] +# Base requirements for Gentoo +git [platform:gentoo] + # For SELinux libselinux-python [platform:redhat] libsemanage-python [platform:redhat] diff --git a/run_tests.sh b/run_tests.sh index cbffb04a..5f21989f 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -59,7 +59,8 @@ case ${ID,,} in *suse*) pkg_mgr_cmd="zypper -n in" ;; centos|rhel|fedora) pkg_mgr_cmd="${RHT_PKG_MGR} install -y" ;; ubuntu|debian) pkg_mgr_cmd="apt-get install -y" ;; - gentoo) pkg_mgr_cmd="emerge" ;; + # Gentoo needs to have version set since it's rolling + gentoo) pkg_mgr_cmd="emerge --jobs=4"; VERSION="rolling" ;; *) echo "unsupported distribution: ${ID,,}"; exit 1 ;; esac