[OE-core] [PATCH 2/2] bluez5: Rename tests package to testtools

Saul Wold sgw at linux.intel.com
Fri Sep 6 18:14:57 UTC 2013


On 09/06/2013 07:49 AM, Mihai Prica wrote:
> Bluez5 ships some tools that can be used to test its
> functionality.
>
> The installation can be tested using "make check" and
> this should be included in a ptest package.
>
> [YB #5028]
>
> Signed-off-by: Mihai Prica <mihai.prica at intel.com>
> ---
>   meta/recipes-connectivity/bluez5/bluez5.inc |    6 ++++--
>   1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc
> index e2b7169..e5cb9e8 100644
> --- a/meta/recipes-connectivity/bluez5/bluez5.inc
> +++ b/meta/recipes-connectivity/bluez5/bluez5.inc
> @@ -55,7 +55,7 @@ do_install_append() {
>   }
>
>   ALLOW_EMPTY_libasound-module-bluez = "1"
> -PACKAGES =+ "libasound-module-bluez ${PN}-test ${PN}-obex"
> +PACKAGES =+ "libasound-module-bluez ${PN}-testtools ${PN}-obex"
>
>   FILES_libasound-module-bluez = "${libdir}/alsa-lib/lib*.so ${datadir}/alsa"
>   FILES_${PN} += "${libdir}/bluetooth/plugins ${libdir}/bluetooth/plugins/*.so ${base_libdir}/udev/ ${nonarch_base_libdir}/udev/ ${systemd_unitdir}/ ${datadir}/dbus-1"
> @@ -70,7 +70,7 @@ FILES_${PN}-obex = "${libdir}/bluez5/bluetooth/obexd \
>                      "
>   SYSTEMD_SERVICE_${PN}-obex = "obex.service"
>
> -FILES_${PN}-test = "${libdir}/bluez/test/*"
> +FILES_${PN}-testtools = "${libdir}/bluez/test/*"
>
Are all the files located in test related to the testtools or are some 
of them related to ptest?

Sau!

>   FILES_${PN}-dbg += "\
>     ${libdir}/${BPN}/bluetooth/.debug \
> @@ -79,4 +79,6 @@ FILES_${PN}-dbg += "\
>     */udev/.debug \
>     "
>
> +RDEPENDS_${PN}-testtools += "python python-dbus python-pygobject"
> +
>   SYSTEMD_SERVICE_${PN} = "bluetooth.service"
>



More information about the Openembedded-core mailing list