From f7593d00cc6256806ac7a7eae941e5fb02306526 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Wed, 11 Dec 2013 15:58:45 -0500 Subject: nova: add -tests package to deploy run_tests.sh on target Signed-off-by: Bruce Ashfield --- meta-openstack/recipes-devtools/python/python-nova_git.bb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta-openstack/recipes-devtools/python') diff --git a/meta-openstack/recipes-devtools/python/python-nova_git.bb b/meta-openstack/recipes-devtools/python/python-nova_git.bb index 9fb1daa..39219ad 100644 --- a/meta-openstack/recipes-devtools/python/python-nova_git.bb +++ b/meta-openstack/recipes-devtools/python/python-nova_git.bb @@ -107,6 +107,8 @@ do_install_append() { install -m 0755 ${WORKDIR}/nova-$binary.init.sh ${D}${sysconfdir}/init.d/nova-$binary done fi + + cp run_tests.sh ${NOVA_CONF_DIR} } pkg_postinst_${SRCNAME}-setup () { @@ -143,6 +145,7 @@ GROUPADD_PARAM_${PN} = "--system nova" USERADD_PARAM_${PN} = "--system --home /var/lib/nova -g nova -G libvirt \ --no-create-home --shell /bin/false nova" +PACKAGES += " ${SRCNAME}-tests" PACKAGES += " ${SRCNAME}-setup ${SRCNAME}-common ${SRCNAME}-compute ${SRCNAME}-controller" PACKAGES += " ${SRCNAME}-consoleauth" PACKAGES += " ${SRCNAME}-novncproxy" @@ -156,6 +159,8 @@ ALLOW_EMPTY_${SRCNAME}-setup = "1" FILES_${PN} = "${libdir}/*" +FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh" + FILES_${SRCNAME}-common = "${bindir}/nova-manage \ ${bindir}/nova-rootwrap \ ${sysconfdir}/${SRCNAME}/* \ -- cgit v1.2.3-54-g00ecf