summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2019-09-20 10:31:55 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-27 13:02:16 +0100
commit299a3e59757442e0c86ac273c047e59e01a5444c (patch)
tree644a73a915f3286602ec6779272cad21e1b32476 /meta/lib
parentc08c61d2f13ced2d5ff929d09f1876d3eb221e92 (diff)
downloadpoky-299a3e59757442e0c86ac273c047e59e01a5444c.tar.gz
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 (From OE-Core rev: f4621cf4516f9de9980f3864a193f3f61c4abedc) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/selftest/cases/devtool.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py
index a7c6005c6d..3a25da2033 100644
--- a/meta/lib/oeqa/selftest/cases/devtool.py
+++ b/meta/lib/oeqa/selftest/cases/devtool.py
@@ -604,6 +604,7 @@ class DevtoolModifyTests(DevtoolBase):
604 bitbake('mdadm m4 -c buildclean') 604 bitbake('mdadm m4 -c buildclean')
605 assertNoFile(tempdir_mdadm, 'mdadm') 605 assertNoFile(tempdir_mdadm, 'mdadm')
606 assertNoFile(builddir_m4, 'src/m4') 606 assertNoFile(builddir_m4, 'src/m4')
607 runCmd('echo "#Trigger rebuild" >> %s/Makefile' % tempdir_mdadm)
607 bitbake('mdadm m4 -c compile') 608 bitbake('mdadm m4 -c compile')
608 assertFile(tempdir_mdadm, 'mdadm') 609 assertFile(tempdir_mdadm, 'mdadm')
609 assertFile(builddir_m4, 'src/m4') 610 assertFile(builddir_m4, 'src/m4')