]> code.ossystems Code Review - openembedded-core.git/commit
cases/bbtests.py: test_bitbake_g(): Check base-files rather than busybox
authorRobert Yang <liezhi.yang@windriver.com>
Wed, 25 Sep 2019 03:18:34 +0000 (11:18 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 27 Sep 2019 12:01:17 +0000 (13:01 +0100)
commitf73676b07f6d8a4573a5f46c3e082831b34b7d18
tree31fbc89f34524a7aab84a3a83f6395bbe271e811
parentee7b48e1ca1e4262941f71a1735ec5b4a9cfc11d
cases/bbtests.py: test_bitbake_g(): Check base-files rather than busybox

It checked whether busybox is in task-depends.dot after run "bitbake -g
core-image-minimal", but busybox is not a must for core-image-minimal since it
is configurable:

VIRTUAL-RUNTIME_base-utils = ""
VIRTUAL-RUNTIME_base-utils-syslog = ""
VIRTUAL-RUNTIME_base-utils-hwclock  =  ""
VIRTUAL-RUNTIME_login_manager = "shadow"
VIRTUAL-RUNTIME_syslog = ""

So the case may fail when busybox is not present, check
base-files which is more reliable.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/bbtests.py