]> code.ossystems Code Review - openembedded-core.git/commit
devtool.py: change to do clean before remove-layer
authorChangqing Li <changqing.li@windriver.com>
Fri, 20 Sep 2019 02:31:54 +0000 (10:31 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 27 Sep 2019 12:01:17 +0000 (13:01 +0100)
commit046d7e1de094105db0949c2cf5333ff55d9ad9c8
tree39c6b9f79e4fb94f20581f77f9b70405b909c8f0
parent9f9706d39713f967e10e3a41313ddacb03b0ca94
devtool.py: change to do clean before remove-layer

if do clean after remove-layer, it will make stamp file not cleaned
since variable STAMP has changed, this will cause error like:

if testcase buildclean failed, when run next testcase modify, since
do_prepare_recipe_sysroot's stamp file exists, sysroot not populated,
then do_compile will fail with error:
/bin/sh: x86_64-poky-linux-gcc: command not found

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