mirror of
git://git.yoctoproject.org/poky
synced 2026-08-15 07:52:56 +00:00
0001-xb-selftest.c-hardcode-G_TEST_SRCDIR.patch refreshed for 0.3.17 Changelog: ========= - Create SECURITY.md for the OpenSSF scorecard - Fix decompressing large zstd files - Use zst as the file extension for zstd - Make the LZMA support optional - Add the lzma and zstd support to the pkgconfig file (From OE-Core rev: 50c247ec5eb989c91466ace4c27742ab36eb018c) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
33 lines
972 B
Diff
33 lines
972 B
Diff
From 8a1aa4c318b8dbe4c0c2b1c4968f867ea6641b32 Mon Sep 17 00:00:00 2001
|
|
From: Markus Volk <f_l_k@t-online.de>
|
|
Date: Sat, 16 Sep 2023 14:02:57 +0200
|
|
Subject: [PATCH] xb-self-test.c: hardcode G_TEST_SRCDIR
|
|
|
|
This avoids:
|
|
libxmlb-0.3.14-r0 do_package_qa: QA Issue: File
|
|
/usr/libexec/installed-tests/libxmlb/xb-self-test in package libxmlb-ptest
|
|
contains reference to TMPDIR [buildpaths]
|
|
|
|
and also fixes the runtime for the ptest.
|
|
|
|
Upstream-Status: Inappropriate [oe-specific]
|
|
|
|
Signed-off-by: Markus Volk <f_l_k@t-online.de>
|
|
---
|
|
src/xb-self-test.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/xb-self-test.c b/src/xb-self-test.c
|
|
index 1daca18..2e5b251 100644
|
|
--- a/src/xb-self-test.c
|
|
+++ b/src/xb-self-test.c
|
|
@@ -2876,7 +2876,7 @@ xb_speed_func(void)
|
|
int
|
|
main(int argc, char **argv)
|
|
{
|
|
- g_setenv("G_TEST_SRCDIR", SRCDIR, FALSE);
|
|
+ g_setenv("G_TEST_SRCDIR", "/usr/libexec/installed-tests/libxmlb", FALSE);
|
|
|
|
g_test_init(&argc, &argv, NULL);
|
|
|