]> code.ossystems Code Review - openembedded-core.git/commit
glib-2.0: add dependencies to fix ptest failures
authorMingde (Matthew) Zeng <matthew.zeng@windriver.com>
Tue, 18 Feb 2020 19:46:49 +0000 (14:46 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 19 Feb 2020 11:23:33 +0000 (11:23 +0000)
commitb649cf5c09a45df2df9a8f8f0920c6dfb07b8d76
tree1af251539450b77926ccab9294b4d939f162f2dd
parenta40a93e81766513cf710e713093ab74c6ec936c3
glib-2.0: add dependencies to fix ptest failures

There are a number of ptest failures due to executables not found in
the image. Since these executables are in FILES_${PN}-dev, depending
all of -dev which is an overkill. We take them out of -dev and put in
-utils, then depend on the latter instead.

When starting a glib ptest but decided to Ctrl-c interrupt midway,
./run-ptest cannot be restarted unless running `userdel glib2-test`
manually. Therefore adding a check prior to ptest will ensure the
ptest can be restarted.

Signed-off-by: Matthew Zeng <matthew.zeng@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glib-2.0/glib-2.0/run-ptest
meta/recipes-core/glib-2.0/glib.inc