selftest/buildoptions: force compile task instead of cleaning sstates
PATCH v2 1/1 selftest/buildoptions: force compile task instead of cleaning sstates
From: Leonardo Sandoval <[email protected]>
There is no need to clean m4 sstates, use force instead.
Signed-off-by Leonardo Sandoval <[email protected]>
--- meta/lib/oeqa/selftest/buildoptions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/lib/oeqa/selftest/buildoptions.py +2 -2
@@ -36,8 +36,8 @@ class ImageOptionsTests(oeSelfTest): p = get_bb_var('SYSROOT_DESTDIR', 'ccache-native') + get_bb_var('bindir', 'ccache-native') + "/" + "ccache" self.assertTrue(os.path.isfile(p), msg = "No ccache found (%s)" % p) self.write_config('INHERIT += "ccache"') - bitbake("m4 -c cleansstate") - bitbake("m4 -c compile") + bitbake("m4 -c compile -f") + bitbake("m4 -c clean") self.addCleanup(bitbake, 'ccache-native -ccleansstate') res = runCmd("grep ccache %s" % (os.path.join(get_bb_var("WORKDIR","m4"),"temp/log.do_compile")), ignore_status=True) self.assertEqual(0, res.status, msg="No match for ccache in m4 log.do_compile. For further details: %s" % os.path.join(get_bb_var("WORKDIR","m4"),"temp/log.do_compile"))
Signature · 1 line
2.1.4