]> code.ossystems Code Review - openembedded-core.git/commit
ext-sdk-prepare.py: exclude do_rm_work from unexpected output; create unit test
authorBill Randle <william.c.randle@intel.com>
Wed, 13 Apr 2016 17:17:42 +0000 (10:17 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Apr 2016 15:27:44 +0000 (16:27 +0100)
commitd41930e1daa933cf4bf063fa79a2e8fc9129e1b1
treef99b63742933e22d5ef655300335fbbdb84a1128
parent37aac647d510557323083c77c3114476440a325d
ext-sdk-prepare.py: exclude do_rm_work from unexpected output; create unit test

When installing the esdk with INHERIT += "rm_work", the script complains
about do_rm_work as unexpected output from the bitbake run. This patch
ignores any output lines with do_rm_work and further refactors the
output comparison into its own function creates a new unit test to
verify the fix. The unit test can be run direct from the command line or
via oe-selftest.

[YOCTO #9019]

Signed-off-by: Bill Randle <william.c.randle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/files/ext-sdk-prepare.py
meta/lib/oeqa/selftest/esdk_prepare.py [new file with mode: 0755]