summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-heatclient_git.bb
diff options
context:
space:
mode:
authorVu Tran <vu.tran@windriver.com>2014-05-14 16:15:41 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-05-21 14:35:25 -0400
commitf2a2abc37c92881156ed84f2aa9f86b5bcd0e112 (patch)
treea6768fb9a6a7212b0b900164c9343d50b22896bd /meta-openstack/recipes-devtools/python/python-heatclient_git.bb
parentbb172c5dc19f35a351db40ce4566906390b03712 (diff)
downloadmeta-cloud-services-f2a2abc37c92881156ed84f2aa9f86b5bcd0e112.tar.gz
heatclient: add heatclient-tests bb
Heatclient tests requires python-mox3 and python-testscenarios. Create additional heatclient-tests package when included into final image will also include these 2 packages into final image. Signed-off-by: Vu Tran <vu.tran@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-heatclient_git.bb')
-rw-r--r--meta-openstack/recipes-devtools/python/python-heatclient_git.bb8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-heatclient_git.bb b/meta-openstack/recipes-devtools/python/python-heatclient_git.bb
index bd9a68d..4547a98 100644
--- a/meta-openstack/recipes-devtools/python/python-heatclient_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-heatclient_git.bb
@@ -19,6 +19,7 @@ RDEPENDS_${PN} +="python-cliff \
19 " 19 "
20 20
21PR = "r0" 21PR = "r0"
22SRCNAME = "heatclient"
22 23
23SRC_URI = "git://github.com/openstack/python-heatclient.git;branch=master" 24SRC_URI = "git://github.com/openstack/python-heatclient.git;branch=master"
24 25
@@ -37,5 +38,10 @@ do_install_append() {
37 install -m 664 ${S}/tools/heat.bash_completion ${D}/${sysconfdir}/bash_completion.d 38 install -m 664 ${S}/tools/heat.bash_completion ${D}/${sysconfdir}/bash_completion.d
38} 39}
39 40
40PACKAGES =+ "${BPN}-bash-completion" 41PACKAGES =+ "${SRCNAME}-tests ${BPN}-bash-completion"
41FILES_${BPN}-bash-completion = "${sysconfdir}/bash_completion.d/*" 42FILES_${BPN}-bash-completion = "${sysconfdir}/bash_completion.d/*"
43ALLOW_EMPTY_${SRCNAME}-tests = "1"
44
45RDEPENDS_${SRCNAME}-tests += "python-testscenarios \
46 python-mox3 \
47 "