summaryrefslogtreecommitdiffstats
path: root/meta/lib
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-29 11:17:22 +0100
commit71fd36a8ab2ae608309fc9f6544089dddd23fe81 (patch)
treec9c31e3b6181a4b7b5ef09b7f45810dfa76c5b6f /meta/lib
parente3e78df1b2d1f59ad14078b7bfed367fcaebee0b (diff)
downloadpoky-71fd36a8ab2ae608309fc9f6544089dddd23fe81.tar.gz
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>
Diffstat (limited to 'meta/lib')
-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):
1638 self.write_config(features) 1638 self.write_config(features)
1639 kernel_provider = get_bb_var('PREFERRED_PROVIDER_virtual/kernel') 1639 kernel_provider = get_bb_var('PREFERRED_PROVIDER_virtual/kernel')
1640 # Clean up the enviroment 1640 # Clean up the enviroment
1641 bitbake('%s -c cleansstate' % kernel_provider) 1641 bitbake('%s -c clean' % kernel_provider)
1642 tempdir = tempfile.mkdtemp(prefix='devtoolqa') 1642 tempdir = tempfile.mkdtemp(prefix='devtoolqa')
1643 self.track_for_cleanup(tempdir) 1643 self.track_for_cleanup(tempdir)
1644 self.track_for_cleanup(self.workspacedir) 1644 self.track_for_cleanup(self.workspacedir)