Skip to contentSkip to conversation

python3: add a tr-tr locale for test_locale ptest

PATCH In review Alexander Kanavin 4 participants 4 messages Apr 11, 2019 – Apr 12, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3: add a tr-tr locale for test_locale ptest

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

---
 meta/recipes-devtools/python/python3_3.7.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/python/python3_3.7.2.bb +1 -1
index 28f128d488b..71a6c103166 100644
@@ -284,7 +284,7 @@ FILES_${PN}-misc = "${libdir}/python${PYTHON_MAJMIN} ${libdir}/python${PYTHON_MA
 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 = "${PN}-modules ${PN}-tests unzip bzip2 libgcc tzdata-europe coreutils sed locale-base-tr-tr.iso-8859-9"
 RDEPENDS_${PN}-tkinter += "${@bb.utils.contains('PACKAGECONFIG', 'tk', 'tk', '', d)}"
 RDEPENDS_${PN}-dev = ""
 
Signature · 1 line
2.17.1
#1 lore raw
Quoted 23 lines · Alexander Kanavin

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

---
 meta/recipes-devtools/python/python3_3.7.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/python/python3_3.7.2.bb +0 -0
index 28f128d488b..71a6c103166 100644
@@ -284,7 +284,7 @@ FILES_${PN}-misc = "${libdir}/python${PYTHON_MAJMIN}

${libdir}/python${PYTHON_MA
PACKAGES += "${PN}-man"
FILES_${PN}-man = "${datadir}/man"

Quoted 4 lines

-RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-tests unzip bzip2 libgcc tzdata-europe coreutils sed"
+RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-tests unzip bzip2 libgcc tzdata-europe coreutils sed locale-base-tr-tr.iso-8859-9"

While this is a test package i must mention that locale packaged are specific to Glibc so it would be better to append it with libc override

Quoted 14 lines

RDEPENDS_${PN}-tkinter += "${@bb.utils.contains('PACKAGECONFIG', 'tk',
'tk', '', d)}"
RDEPENDS_${PN}-dev = ""

--
2.17.1

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#2 lore raw
Quoted 25 lines · Khem Raj
Quoted 23 lines · Alexander Kanavin

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

---
 meta/recipes-devtools/python/python3_3.7.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/python/python3_3.7.2.bb +0 -0
index 28f128d488b..71a6c103166 100644
@@ -284,7 +284,7 @@ FILES_${PN}-misc =

"${libdir}/python${PYTHON_MAJMIN} ${libdir}/python${PYTHON_MA
PACKAGES += "${PN}-man"
FILES_${PN}-man = "${datadir}/man"

Quoted 8 lines
Quoted 4 lines

-RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-tests unzip bzip2 libgcc tzdata-europe coreutils sed" +RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-tests unzip bzip2 libgcc tzdata-europe coreutils sed locale-base-tr-tr.iso-8859-9"

While this is a test package i must mention that locale packaged are specific to Glibc so it would be better to append it with libc override

We had build failures and I queued a fixup in warrior-next to do just that!

Cheers,

Richard

#3 lore raw

Hi, Richard and Michael:
Thanks for your positive information, but what I need is an CommandLineDiskImager.exe that could automatically download the wic file to the EMMC chip :
The command line sample is as below:
CommandLineDiskImager.exe C:\Downloads\scooteros-mdb-image-imx6ulmdb.wic G
Currently, my application only support .img file format, I need a new CommandLineDiskImager.exe to support .wic format.
Thanks for your update!

Best Regards!

Sunny Wang
EQE - AME - Asia

Xin Qing Science & Technology Industrial Park
Zhuhai, Guangdong, China
direct: +86 (0756) 5189325
mobile: +86 185 7566 0748
email: [email protected]
web: flex.com

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Richard Purdie
Sent: 2019年4月12日 14:59
To: Khem Raj <[email protected]>; Alexander Kanavin <[email protected]>
Cc: [email protected]
Subject: Re: [OE-core] [PATCH] python3: add a tr-tr locale for test_locale ptest

Quoted 25 lines · Khem Raj
Quoted 23 lines · Alexander Kanavin

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

---
 meta/recipes-devtools/python/python3_3.7.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/python/python3_3.7.2.bb +0 -0
index 28f128d488b..71a6c103166 100644
@@ -284,7 +284,7 @@ FILES_${PN}-misc = 

"${libdir}/python${PYTHON_MAJMIN} ${libdir}/python${PYTHON_MA PACKAGES += "${PN}-man"
FILES_${PN}-man = "${datadir}/man"

Quoted 8 lines
Quoted 4 lines

-RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-tests unzip bzip2 libgcc tzdata-europe coreutils sed" +RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-tests unzip bzip2 libgcc tzdata-europe coreutils sed locale-base-tr-tr.iso-8859-9"

While this is a test package i must mention that locale packaged are specific to Glibc so it would be better to append it with libc override

We had build failures and I queued a fixup in warrior-next to do just that!

Cheers,

Richard

--
_______________________________________________
Openembedded-core mailing list
[email protected]
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.openembedded.org_mailman_listinfo_openembedded-2Dcore&d=DwICAg&c=ZP_H8hVPcMPysQ_qMWzcHQ&r=uEWeuxLIVXDUHh5qu-hqP6Vu9OmdNlqjxQL7AIAj9Os&m=1lwmHsAwoZDfaMioPLJKD0bPSV6HnsvstpzV96vcMlI&s=X0Yix1BXJftnK7wRtKY8PYXSbDfsf5gkPLqrrQHiZeA&e=

Legal Disclaimer :
The information contained in this message may be privileged and confidential. It is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message!