mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
dbus-test: fix ptest failed problem when multilib is enabled
Fix some failed info like: | ./test/test-bus: relocation error: ./test/test-bus: symbol | _dbus_threads_init_debug, version LIBDBUS_PRIVATE_1.10.10 not defined | in file libdbus-1.so.3 with link time reference | FAIL: test/test-bus In run-ptest, LD_LIBRARY_PATH is set to /usr/lib, but when multilib is enabled, /usr/lib64 will be used. fix by replace with correct path. (From OE-Core rev: d1bdf962dc3f121066bd7efb451dd9072b881718) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
aa6def606f
commit
2d760d2d61
@@ -75,6 +75,7 @@ do_install_ptest() {
|
||||
sed -i \
|
||||
-e 's:${B}:${PTEST_PATH}:g' \
|
||||
{} +
|
||||
sed -i -e 's;@PTEST_PATH@;${PTEST_PATH};g' ${D}${PTEST_PATH}/run-ptest
|
||||
}
|
||||
|
||||
RDEPENDS_${PN}-ptest += "bash"
|
||||
|
||||
@@ -12,7 +12,7 @@ output() {
|
||||
|
||||
export DBUS_TEST_HOMEDIR=./test
|
||||
export XDG_RUNTIME_DIR=./test
|
||||
export LD_LIBRARY_PATH=/usr/lib/dbus-test/ptest/test/.libs
|
||||
export LD_LIBRARY_PATH=@PTEST_PATH@/test/.libs
|
||||
|
||||
files=`ls test/test-*`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user