* [PATCH] glibc-tests: not clear BBCLASSEXTEND
@ 2022-06-28 15:22 kai.kang
2022-06-28 16:03 ` [OE-core] " Richard Purdie
0 siblings, 1 reply; 4+ messages in thread
From: kai.kang @ 2022-06-28 15:22 UTC (permalink / raw)
To: openembedded-core
From: Kai Kang <kai.kang@windriver.com>
It clears BBCLASSEXTEND in glibc-tests recipe to remove 'nativesdk'
which is set in glibc recipe. The side effect is that it removes
"${MULTILIBS}" at same time if multilib enabled. Then there will no
multilib version glibc-tests. So only remove 'nativesdk' from
BBCLASSEXTEND rather than clear it.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
meta/recipes-core/glibc/glibc-tests_2.35.bb | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-core/glibc/glibc-tests_2.35.bb b/meta/recipes-core/glibc/glibc-tests_2.35.bb
index 414f8660de..028e83e865 100644
--- a/meta/recipes-core/glibc/glibc-tests_2.35.bb
+++ b/meta/recipes-core/glibc/glibc-tests_2.35.bb
@@ -18,7 +18,8 @@ python __anonymous() {
d.setVar("PROVIDES", "${PN} ${PN}-ptest")
d.setVar("RPROVIDES", "${PN} ${PN}-ptest")
- d.setVar("BBCLASSEXTEND", "")
+ bbclassextend = d.getVar("BBCLASSEXTEND").replace("nativesdk", "").strip()
+ d.setVar("BBCLASSEXTEND", bbclassextend)
d.setVar("RRECOMMENDS", "")
d.setVar("SYSTEMD_SERVICE:nscd", "")
d.setVar("SYSTEMD_PACKAGES", "")
@@ -95,7 +96,7 @@ python populate_packages:prepend () {
d.setVar('DEBIAN_NAMES', '')
}
-FILES:${PN} = "${PTEST_PATH}/* /usr/src/debug/glibc-tests/*"
+FILES:${PN} = "${PTEST_PATH}/* /usr/src/debug/${PN}/*"
EXCLUDE_FROM_SHLIBS = "1"
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [OE-core] [PATCH] glibc-tests: not clear BBCLASSEXTEND
2022-06-28 15:22 [PATCH] glibc-tests: not clear BBCLASSEXTEND kai.kang
@ 2022-06-28 16:03 ` Richard Purdie
2022-06-28 22:23 ` Randy MacLeod
0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2022-06-28 16:03 UTC (permalink / raw)
To: kai, openembedded-core
On Tue, 2022-06-28 at 23:22 +0800, kai wrote:
> From: Kai Kang <kai.kang@windriver.com>
>
> It clears BBCLASSEXTEND in glibc-tests recipe to remove 'nativesdk'
> which is set in glibc recipe. The side effect is that it removes
> "${MULTILIBS}" at same time if multilib enabled. Then there will no
> multilib version glibc-tests. So only remove 'nativesdk' from
> BBCLASSEXTEND rather than clear it.
>
> Signed-off-by: Kai Kang <kai.kang@windriver.com>
> ---
> meta/recipes-core/glibc/glibc-tests_2.35.bb | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-core/glibc/glibc-tests_2.35.bb b/meta/recipes-core/glibc/glibc-tests_2.35.bb
> index 414f8660de..028e83e865 100644
> --- a/meta/recipes-core/glibc/glibc-tests_2.35.bb
> +++ b/meta/recipes-core/glibc/glibc-tests_2.35.bb
> @@ -18,7 +18,8 @@ python __anonymous() {
> d.setVar("PROVIDES", "${PN} ${PN}-ptest")
> d.setVar("RPROVIDES", "${PN} ${PN}-ptest")
>
> - d.setVar("BBCLASSEXTEND", "")
> + bbclassextend = d.getVar("BBCLASSEXTEND").replace("nativesdk", "").strip()
> + d.setVar("BBCLASSEXTEND", bbclassextend)
> d.setVar("RRECOMMENDS", "")
> d.setVar("SYSTEMD_SERVICE:nscd", "")
> d.setVar("SYSTEMD_PACKAGES", "")
> @@ -95,7 +96,7 @@ python populate_packages:prepend () {
> d.setVar('DEBIAN_NAMES', '')
> }
>
> -FILES:${PN} = "${PTEST_PATH}/* /usr/src/debug/glibc-tests/*"
> +FILES:${PN} = "${PTEST_PATH}/* /usr/src/debug/${PN}/*"
>
> EXCLUDE_FROM_SHLIBS = "1"
>
Have you tested the multilib glibc-tests and been able to use it
successfully?
Cheers,
Richard
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [OE-core] [PATCH] glibc-tests: not clear BBCLASSEXTEND
2022-06-28 16:03 ` [OE-core] " Richard Purdie
@ 2022-06-28 22:23 ` Randy MacLeod
2022-06-30 9:09 ` Kai
0 siblings, 1 reply; 4+ messages in thread
From: Randy MacLeod @ 2022-06-28 22:23 UTC (permalink / raw)
To: Richard Purdie, kai, openembedded-core, Gowda, Naveen
On 2022-06-28 12:03, Richard Purdie wrote:
> On Tue, 2022-06-28 at 23:22 +0800, kai wrote:
>> From: Kai Kang <kai.kang@windriver.com>
>>
>> It clears BBCLASSEXTEND in glibc-tests recipe to remove 'nativesdk'
>> which is set in glibc recipe. The side effect is that it removes
>> "${MULTILIBS}" at same time if multilib enabled. Then there will no
>> multilib version glibc-tests. So only remove 'nativesdk' from
>> BBCLASSEXTEND rather than clear it.
>>
>> Signed-off-by: Kai Kang <kai.kang@windriver.com>
>> ---
>> meta/recipes-core/glibc/glibc-tests_2.35.bb | 5 +++--
>> 1 file changed, 3 insertions(+), 2 deletions(-)
>>
>> diff --git a/meta/recipes-core/glibc/glibc-tests_2.35.bb b/meta/recipes-core/glibc/glibc-tests_2.35.bb
>> index 414f8660de..028e83e865 100644
>> --- a/meta/recipes-core/glibc/glibc-tests_2.35.bb
>> +++ b/meta/recipes-core/glibc/glibc-tests_2.35.bb
>> @@ -18,7 +18,8 @@ python __anonymous() {
>> d.setVar("PROVIDES", "${PN} ${PN}-ptest")
>> d.setVar("RPROVIDES", "${PN} ${PN}-ptest")
>>
>> - d.setVar("BBCLASSEXTEND", "")
>> + bbclassextend = d.getVar("BBCLASSEXTEND").replace("nativesdk", "").strip()
>> + d.setVar("BBCLASSEXTEND", bbclassextend)
>> d.setVar("RRECOMMENDS", "")
>> d.setVar("SYSTEMD_SERVICE:nscd", "")
>> d.setVar("SYSTEMD_PACKAGES", "")
>> @@ -95,7 +96,7 @@ python populate_packages:prepend () {
>> d.setVar('DEBIAN_NAMES', '')
>> }
>>
>> -FILES:${PN} = "${PTEST_PATH}/* /usr/src/debug/glibc-tests/*"
>> +FILES:${PN} = "${PTEST_PATH}/* /usr/src/debug/${PN}/*"
>>
>> EXCLUDE_FROM_SHLIBS = "1"
>>
> Have you tested the multilib glibc-tests and been able to use it
> successfully?
If Kai hasn't Naveen will.
../Randy
>
> Cheers,
>
> Richard
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#167350): https://lists.openembedded.org/g/openembedded-core/message/167350
> Mute This Topic: https://lists.openembedded.org/mt/92046086/3616765
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [randy.macleod@windriver.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
--
# Randy MacLeod
# Wind River Linux
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [OE-core] [PATCH] glibc-tests: not clear BBCLASSEXTEND
2022-06-28 22:23 ` Randy MacLeod
@ 2022-06-30 9:09 ` Kai
0 siblings, 0 replies; 4+ messages in thread
From: Kai @ 2022-06-30 9:09 UTC (permalink / raw)
To: Randy MacLeod, Richard Purdie, openembedded-core, Gowda, Naveen
On 6/29/22 6:23 AM, Randy MacLeod wrote:
> On 2022-06-28 12:03, Richard Purdie wrote:
>> On Tue, 2022-06-28 at 23:22 +0800, kai wrote:
>>> From: Kai Kang <kai.kang@windriver.com>
>>>
>>> It clears BBCLASSEXTEND in glibc-tests recipe to remove 'nativesdk'
>>> which is set in glibc recipe. The side effect is that it removes
>>> "${MULTILIBS}" at same time if multilib enabled. Then there will no
>>> multilib version glibc-tests. So only remove 'nativesdk' from
>>> BBCLASSEXTEND rather than clear it.
>>>
>>> Signed-off-by: Kai Kang <kai.kang@windriver.com>
>>> ---
>>> meta/recipes-core/glibc/glibc-tests_2.35.bb | 5 +++--
>>> 1 file changed, 3 insertions(+), 2 deletions(-)
>>>
>>> diff --git a/meta/recipes-core/glibc/glibc-tests_2.35.bb
>>> b/meta/recipes-core/glibc/glibc-tests_2.35.bb
>>> index 414f8660de..028e83e865 100644
>>> --- a/meta/recipes-core/glibc/glibc-tests_2.35.bb
>>> +++ b/meta/recipes-core/glibc/glibc-tests_2.35.bb
>>> @@ -18,7 +18,8 @@ python __anonymous() {
>>> d.setVar("PROVIDES", "${PN} ${PN}-ptest")
>>> d.setVar("RPROVIDES", "${PN} ${PN}-ptest")
>>> - d.setVar("BBCLASSEXTEND", "")
>>> + bbclassextend =
>>> d.getVar("BBCLASSEXTEND").replace("nativesdk", "").strip()
>>> + d.setVar("BBCLASSEXTEND", bbclassextend)
>>> d.setVar("RRECOMMENDS", "")
>>> d.setVar("SYSTEMD_SERVICE:nscd", "")
>>> d.setVar("SYSTEMD_PACKAGES", "")
>>> @@ -95,7 +96,7 @@ python populate_packages:prepend () {
>>> d.setVar('DEBIAN_NAMES', '')
>>> }
>>> -FILES:${PN} = "${PTEST_PATH}/* /usr/src/debug/glibc-tests/*"
>>> +FILES:${PN} = "${PTEST_PATH}/* /usr/src/debug/${PN}/*"
>>> EXCLUDE_FROM_SHLIBS = "1"
>>>
>> Have you tested the multilib glibc-tests and been able to use it
>> successfully?
>
>
> If Kai hasn't Naveen will.
Thanks. I test it on core-image-minimal with multilib enabled.
And 132 test cases of lib32-glibc-tests run, 121 PASS, 10 FAIL and 1 SKIP.
Regards,
Kai
>
> ../Randy
>
>>
>> Cheers,
>>
>> Richard
>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#167350):
>> https://lists.openembedded.org/g/openembedded-core/message/167350
>> Mute This Topic: https://lists.openembedded.org/mt/92046086/3616765
>> Group Owner: openembedded-core+owner@lists.openembedded.org
>> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
>> [randy.macleod@windriver.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
>
--
Kai Kang
Wind River Linux
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-06-30 9:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-28 15:22 [PATCH] glibc-tests: not clear BBCLASSEXTEND kai.kang
2022-06-28 16:03 ` [OE-core] " Richard Purdie
2022-06-28 22:23 ` Randy MacLeod
2022-06-30 9:09 ` Kai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.