[1/2] bluez5: add needed character encoding for ptests

Message ID 20191008104605.28981-1-ross.burton@intel.com
State Accepted
Commit c75707bbd24552e72ae2e564c0d6f72823b63b8c
Headers show
Series
  • [1/2] bluez5: add needed character encoding for ptests
Related show

Commit Message

Ross Burton Oct. 8, 2019, 10:46 a.m.
The test-gobject-header test suite needs UTF-16 encoding:

test_decode_header_name_ascii:
assertion failed (err == NULL):
Unicode conversion failed:
Conversion from character set ?UTF-16BE? to ?UTF-8? is not supported (g-obex-error-quark, 256)

Add gconv-utf-16 to the bluez5-ptest RDEPENDS.

Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta/recipes-connectivity/bluez5/bluez5.inc | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.20.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc
index 6c79ed0606b..f582a07e22a 100644
--- a/meta/recipes-connectivity/bluez5/bluez5.inc
+++ b/meta/recipes-connectivity/bluez5/bluez5.inc
@@ -155,3 +155,5 @@  do_install_ptest() {
 	cp -r ${B}/unit/ ${D}${PTEST_PATH}
 	rm -f ${D}${PTEST_PATH}/unit/*.o
 }
+
+RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-gconv-utf-16"