]> code.ossystems Code Review - openembedded-core.git/commitdiff
python3: add a tr-tr locale for test_locale ptest
authorAlexander Kanavin <alex.kanavin@gmail.com>
Thu, 11 Apr 2019 16:00:37 +0000 (18:00 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 12 Apr 2019 08:27:47 +0000 (09:27 +0100)
With this change, the ptests do not fail anymore,
except for the three failures caused by the 5.0 kernel regression:

- test_ssl and test_httplib lock up, and are skipped
(there is a separate patch for it)

- test_asyncio fails but does not lock up

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3_3.7.2.bb

index 4ff8cff3a1fd83a865ecff751cd228124c234cf4..6464aafa409dee56ca79a957c45cfaa458a75d5d 100644 (file)
@@ -286,6 +286,7 @@ PACKAGES += "${PN}-man"
 FILES_${PN}-man = "${datadir}/man"
 
 RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-tests unzip bzip2 libgcc tzdata-europe coreutils sed"
+RDEPENDS_${PN}-ptest_append_libc-glibc = " locale-base-tr-tr.iso-8859-9"
 RDEPENDS_${PN}-tkinter += "${@bb.utils.contains('PACKAGECONFIG', 'tk', 'tk', '', d)}"
 RDEPENDS_${PN}-dev = ""