On Thu, 2023-05-25 at 23:29 +0100, Richard Purdie via
lists.openembedded.org wrote:
> On Tue, 2023-05-23 at 11:04 +0200, Alexander Kanavin wrote:
> > Nothing depends on this patch and it can be dropped for testing or
> > merging. I pulled it in because otherwise glib update to 2.76 would
> > start failing its ptest, but I see that glib update landed in master
> > but this patch did not. Not sure how that happened, are ptests passing
> > as of current master?
> 
> Interestingly it looks like switching to gcc 13 triggers the glib ptest
> warnings. Not sure why, it is probably the last issue we have with core
> before merging gcc 13 though.

We can fix the tests with:

diff --git a/meta/recipes-core/glib-2.0/glib-2.0/run-ptest 
b/meta/recipes-core/glib-2.0/glib-2.0/run-ptest
index c476d67310d..831bc3b91f1 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0/run-ptest
+++ b/meta/recipes-core/glib-2.0/glib-2.0/run-ptest
@@ -6,5 +6,5 @@ if id -u glib2-test; then
 fi
 useradd glib2-test
 cd /tmp
-su glib2-test -c 'gnome-desktop-testing-runner glib'
+su glib2-test -c 'G_TEST_TMPDIR=`readlink -f /tmp` 
gnome-desktop-testing-runner glib'
 userdel glib2-test


Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#181728): 
https://lists.openembedded.org/g/openembedded-core/message/181728
Mute This Topic: https://lists.openembedded.org/mt/99069809/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to