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-23 14:43:04 -0400
commita4bf3aa09a911cb75c78567760897a8bfb2a1d0b (patch)
treeaaf8ee7ac14c50c9731266558120304dab07ef80 /meta-openstack/recipes-devtools/python/python-heatclient_git.bb
parentf3b8da25e085cf327ce0282c3a5eb8de8634caaa (diff)
downloadmeta-cloud-services-a4bf3aa09a911cb75c78567760897a8bfb2a1d0b.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 "