]> code.ossystems Code Review - openembedded-core.git/commit
glib-2.0: fix the ptest
authorRoy Li <rongqing.li@windriver.com>
Wed, 20 Jan 2016 02:08:16 +0000 (10:08 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Jan 2016 23:42:39 +0000 (23:42 +0000)
commit9f79c1e0ebdbd300284ace3cb8d01d6ea98ba077
treed7ea4f3db759ec907ac76f6aca9f6dfcb1681360
parentcd4313339853d2eddebf93a49d0f45a305985a31
glib-2.0: fix the ptest

1. the ptest should not be run by root user, otherwise test_stdio_wrappers
will failure since root can enter any dir without exec permission, but the
ptest expect the failure
   1_2.44.1-r0/glib-2.44.1/glib/tests/fileutils.c:864:test_stdio_wrappers: assertion failed: (errno == EACCES)

2. if X11 DISTRO_FEATURE is not enabled, not run gdbus-serialization.test
   #dbus-launch --autolaunch=7df84bc5a72041a581d2f44505e7e882 --binary-syntax --close-stderr
    Autolaunch requested, but X11 support not compiled in

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/glib-2.0/glib-2.0/run-ptest
meta/recipes-core/glib-2.0/glib.inc