]> code.ossystems Code Review - openembedded-core.git/commit
devtool.py: fix buildclean test
authorChangqing Li <changqing.li@windriver.com>
Fri, 20 Sep 2019 02:31:55 +0000 (10:31 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 27 Sep 2019 12:01:17 +0000 (13:01 +0100)
commitf4621cf4516f9de9980f3864a193f3f61c4abedc
treecac96b3e0a2e00a39eccfe3c5b9d732f351503a0
parent046d7e1de094105db0949c2cf5333ff55d9ad9c8
devtool.py: fix buildclean test

when build with EXTERNALSRC, checksum of EXTERNALSRC is one of inputs
for generate sigdata of task do_compile. without change any source, the
sigdata will not changed, and buildclean task only do make clean, and
not clean stampfiles like clean task, so the stampfile keep there, then
do_compile after do_buildclean will not rerun, and targetfile
tempdir_mdadm/mdadm will not be generated, report below error:

AssertionError: '/tmp/devtoolqarxv8ct6u/mdadm' does not exist

Fix by add a comments in Makefile to trigger rebuild of compile task

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/devtool.py