devtool: Avoid touch sstates when cleaning linux-yocto environment

sstates are cleaned when ruining  test_devtool_virtual_kernel_modify to
have a clean environment but this is affecting eSDK test that are
dependent of those sstates, hence “cleansstate” is replaced for
“clean”.

[YOCTO #11300]

(From OE-Core rev: 182fdb97ed6c11c7b55fdb99773da6f72c9828b3)

Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jose Perez Carranza 2017-04-26 05:54:00 +00:00 committed by Richard Purdie
parent e3e78df1b2
commit 71fd36a8ab
1 changed files with 1 additions and 1 deletions

View File

@ -1638,7 +1638,7 @@ class DevtoolTests(DevtoolBase):
self.write_config(features)
kernel_provider = get_bb_var('PREFERRED_PROVIDER_virtual/kernel')
# Clean up the enviroment
bitbake('%s -c cleansstate' % kernel_provider)
bitbake('%s -c clean' % kernel_provider)
tempdir = tempfile.mkdtemp(prefix='devtoolqa')
self.track_for_cleanup(tempdir)
self.track_for_cleanup(self.workspacedir)