]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
glib-2.0: Fix TMPDIR mismatch test failures uninative-3.10
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 25 May 2023 23:09:35 +0000 (00:09 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 26 May 2023 06:53:13 +0000 (07:53 +0100)
commit7ef0ce88e23c7ca138bc4041931d9bfe1d85dfc0
treee0e8f2a2c6fb37a48a07dc49eb8c85f3df27ef01
parent9148de637f565578a96e8c02bad765ce3daffe27
glib-2.0: Fix TMPDIR mismatch test failures

gcc 13 appears to trigger TMPDIR changes in glib which causes ptest failures:

FAIL: glib/utils-c-90.test (Child process killed by signal 6)
FAIL: glib/utils.test (Child process killed by signal 6)
FAIL: glib/utils-c-99.test (Child process killed by signal 6)
FAIL: glib/utils-c-17.test (Child process killed by signal 6)
FAIL: glib/utils-c-11.test (Child process killed by signal 6)

The issue is caused by our symlinks between tmp directories which
cause the tests to get confused. We can set G_TEST_TMPDIR to
a resolved path using readlink to avoid the failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glib-2.0/glib-2.0/run-ptest