aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack
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:14:05 -0400
commitfc7d564fb43d3768c6ad14a3b8f116142705e733 (patch)
tree7c4af710a809fdc1f78e24fc58c9b16d2a14588a /meta-openstack
parent27813690a6dbe7e50b68635077196f461b3a1914 (diff)
downloadmeta-cloud-services-fc7d564fb43d3768c6ad14a3b8f116142705e733.tar.gz
meta-cloud-services-fc7d564fb43d3768c6ad14a3b8f116142705e733.tar.bz2
meta-cloud-services-fc7d564fb43d3768c6ad14a3b8f116142705e733.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')
-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 dc2b7d8a..ae388d9b 100644
--- a/meta-openstack/recipes-extended/tempest/tempest_git.bb
+++ b/meta-openstack/recipes-extended/tempest/tempest_git.bb
@@ -56,7 +56,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"