diff options
| author | Vu Tran <vu.tran@windriver.com> | 2014-05-14 16:15:41 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-05-21 14:35:25 -0400 |
| commit | f2a2abc37c92881156ed84f2aa9f86b5bcd0e112 (patch) | |
| tree | a6768fb9a6a7212b0b900164c9343d50b22896bd /meta-openstack/recipes-devtools/python | |
| parent | bb172c5dc19f35a351db40ce4566906390b03712 (diff) | |
| download | meta-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')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-heatclient_git.bb | 8 |
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 | ||
| 21 | PR = "r0" | 21 | PR = "r0" |
| 22 | SRCNAME = "heatclient" | ||
| 22 | 23 | ||
| 23 | SRC_URI = "git://github.com/openstack/python-heatclient.git;branch=master" | 24 | SRC_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 | ||
| 40 | PACKAGES =+ "${BPN}-bash-completion" | 41 | PACKAGES =+ "${SRCNAME}-tests ${BPN}-bash-completion" |
| 41 | FILES_${BPN}-bash-completion = "${sysconfdir}/bash_completion.d/*" | 42 | FILES_${BPN}-bash-completion = "${sysconfdir}/bash_completion.d/*" |
| 43 | ALLOW_EMPTY_${SRCNAME}-tests = "1" | ||
| 44 | |||
| 45 | RDEPENDS_${SRCNAME}-tests += "python-testscenarios \ | ||
| 46 | python-mox3 \ | ||
| 47 | " | ||
