From 5944b012c7259be82f3cef9780505da12b533780 Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Wed, 9 Jul 2014 14:41:34 -0400 Subject: 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 --- meta-openstack/recipes-extended/tempest/tempest_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3-54-g00ecf