summaryrefslogtreecommitdiff
path: root/meta/lib/oeqa/selftest
diff options
context:
space:
mode:
authorJose Perez Carranza <jose.perez.carranza@linux.intel.com>2017-04-26 05:54:00 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-28 11:26:06 +0100
commit182fdb97ed6c11c7b55fdb99773da6f72c9828b3 (patch)
treebf0d79f9b7da54b968df7521051b4a9a51a7e3d5 /meta/lib/oeqa/selftest
parent29a209822488ab687abdb1ceffdd9c7af5b3db68 (diff)
downloadopenembedded-core-182fdb97ed6c11c7b55fdb99773da6f72c9828b3.tar.gz
openembedded-core-182fdb97ed6c11c7b55fdb99773da6f72c9828b3.tar.bz2
openembedded-core-182fdb97ed6c11c7b55fdb99773da6f72c9828b3.zip
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] Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/lib/oeqa/selftest')
-rw-r--r--meta/lib/oeqa/selftest/devtool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/devtool.py b/meta/lib/oeqa/selftest/devtool.py
index 762c7bacec..8e7642c32b 100644
--- a/meta/lib/oeqa/selftest/devtool.py
+++ b/meta/lib/oeqa/selftest/devtool.py
@@ -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)