diff options
-rw-r--r-- | meta/recipes-core/dbus/dbus-test_1.12.10.bb | 1 | ||||
-rwxr-xr-x | meta/recipes-core/dbus/dbus/run-ptest | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/dbus/dbus-test_1.12.10.bb b/meta/recipes-core/dbus/dbus-test_1.12.10.bb index e3ee608e3d..25b9395120 100644 --- a/meta/recipes-core/dbus/dbus-test_1.12.10.bb +++ b/meta/recipes-core/dbus/dbus-test_1.12.10.bb | |||
@@ -75,6 +75,7 @@ do_install_ptest() { | |||
75 | sed -i \ | 75 | sed -i \ |
76 | -e 's:${B}:${PTEST_PATH}:g' \ | 76 | -e 's:${B}:${PTEST_PATH}:g' \ |
77 | {} + | 77 | {} + |
78 | sed -i -e 's;@PTEST_PATH@;${PTEST_PATH};g' ${D}${PTEST_PATH}/run-ptest | ||
78 | } | 79 | } |
79 | 80 | ||
80 | RDEPENDS_${PN}-ptest += "bash" | 81 | RDEPENDS_${PN}-ptest += "bash" |
diff --git a/meta/recipes-core/dbus/dbus/run-ptest b/meta/recipes-core/dbus/dbus/run-ptest index 8a8970ee20..353ba1e905 100755 --- a/meta/recipes-core/dbus/dbus/run-ptest +++ b/meta/recipes-core/dbus/dbus/run-ptest | |||
@@ -12,7 +12,7 @@ output() { | |||
12 | 12 | ||
13 | export DBUS_TEST_HOMEDIR=./test | 13 | export DBUS_TEST_HOMEDIR=./test |
14 | export XDG_RUNTIME_DIR=./test | 14 | export XDG_RUNTIME_DIR=./test |
15 | export LD_LIBRARY_PATH=/usr/lib/dbus-test/ptest/test/.libs | 15 | export LD_LIBRARY_PATH=@PTEST_PATH@/test/.libs |
16 | 16 | ||
17 | files=`ls test/test-*` | 17 | files=`ls test/test-*` |
18 | 18 | ||