aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-extended
diff options
context:
space:
mode:
authorVu Tran <vu.tran@windriver.com>2014-07-09 14:41:34 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-07-17 00:12:13 -0400
commit5944b012c7259be82f3cef9780505da12b533780 (patch)
tree0ca49efe7badbc673a2256c9e6ddec8931df3277 /meta-openstack/recipes-extended
parent511c65ab74d06733ceabaed7ac45cbfcd144ea46 (diff)
downloadmeta-cloud-services-5944b012c7259be82f3cef9780505da12b533780.tar.gz
meta-cloud-services-5944b012c7259be82f3cef9780505da12b533780.tar.bz2
meta-cloud-services-5944b012c7259be82f3cef9780505da12b533780.zip
tempest missing tools and testr config
OpenStack Rally requires "tools" from tempest. Also modify tempest ".testr.conf" to allow testr to run tempest from any location. Signed-off-by: Vu Tran <vu.tran@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-extended')
-rw-r--r--meta-openstack/recipes-extended/tempest/tempest_git.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-openstack/recipes-extended/tempest/tempest_git.bb b/meta-openstack/recipes-extended/tempest/tempest_git.bb
index a1522c6..75d8340 100644
--- a/meta-openstack/recipes-extended/tempest/tempest_git.bb
+++ b/meta-openstack/recipes-extended/tempest/tempest_git.bb
@@ -53,7 +53,8 @@ do_install_append() {
# test infrastructure
cp run_tests.sh ${TEMPEST_CONF_DIR}
cp .testr.conf ${TEMPEST_CONF_DIR}
-
+ sed "s:discover -t ./ ./tempest:discover -t ${PYTHON_SITEPACKAGES_DIR} tempest:g" -i ${TEMPEST_CONF_DIR}/.testr.conf
+ cp -r tools ${TEMPEST_CONF_DIR}
}
PACKAGES =+ "${SRCNAME}-tests"