[poky] [meta][sumo][PATCH] run-ptest: fix testcase test-names failure

Alexander Kanavin alex.kanavin at gmail.com
Sun Mar 3 09:38:34 PST 2019


Anything that changes things in meta/ goes to oe-core list.
Anything that changes things in meta-poky/ goes to poky list.

Alex


On Sun, 3 Mar 2019 at 18:21, Aditya Tayade <Aditya.Tayade at kpit.com> wrote:
>
> Start the dbus daemon first before executing test-names
> using dbus-launch, this will set DBUS_SESSION_BUS_ADDRESS.
>
> ERROR:Failed to open connection to system bus: Using X11 for
> dbus-daemon autolaunch was disabled at compile time,
> set your DBUS_SESSION_BUS_ADDRESS instead
>
> Upstream-Status: Pending
>
> Signed-off-by: Aditya Tayade <Aditya.Tayade at kpit.com>
> ---
>  meta/recipes-core/dbus/dbus/run-ptest | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-core/dbus/dbus/run-ptest b/meta/recipes-core/dbus/dbus/run-ptest
> index 8a8970e..444ef4a 100755
> --- a/meta/recipes-core/dbus/dbus/run-ptest
> +++ b/meta/recipes-core/dbus/dbus/run-ptest
> @@ -13,6 +13,7 @@ output() {
>  export DBUS_TEST_HOMEDIR=./test
>  export XDG_RUNTIME_DIR=./test
>  export LD_LIBRARY_PATH=/usr/lib/dbus-test/ptest/test/.libs
> +export $(dbus-launch)
>
>  files=`ls test/test-*`
>
> --
> 2.7.4
>
> This message contains information that may be privileged or confidential and is the property of the KPIT Technologies Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Technologies Ltd. does not accept any liability for virus infected mails.
> --
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky


More information about the poky mailing list