[oe-commits] Mihai Prica : bluez5: Rename tests package to testtools

git at git.openembedded.org git at git.openembedded.org
Fri Sep 6 21:37:52 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: 7ea4ba7e8302e6559b0f8110cdb2ac1826ec22f2
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=7ea4ba7e8302e6559b0f8110cdb2ac1826ec22f2

Author: Mihai Prica <mihai.prica at intel.com>
Date:   Fri Sep  6 17:49:01 2013 +0300

bluez5: Rename tests package to testtools

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>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-connectivity/bluez5/bluez5.inc |    6 ++++--
 1 files 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/*"
 
 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-commits mailing list