aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorneliu Stoicescu <corneliux.stoicescu@intel.com>2014-01-14 14:21:19 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-16 12:18:44 +0000
commit78e929bbcdce1f9a544b230433b93f4fc1f841e2 (patch)
tree0af48e208a9da09727bf732cb9130400d5bb36a2
parent67499dbffd0f7241fd199b7fb94edfe2cebe8a9b (diff)
downloadopenembedded-core-contrib-78e929bbcdce1f9a544b230433b93f4fc1f841e2.tar.gz
oe-selftest: New object SStateBase cut off from SStateTests.
- SStateBase object contains basic methods used to run sstate related tests - SStateTests now contains only sstate-related tests Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/selftest/sstate.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/sstate.py b/meta/lib/oeqa/selftest/sstate.py
index 98c1426791..a0489fe4f1 100644
--- a/meta/lib/oeqa/selftest/sstate.py
+++ b/meta/lib/oeqa/selftest/sstate.py
@@ -8,7 +8,7 @@ import oeqa.utils.ftools as ftools
from oeqa.selftest.base import oeSelfTest
from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_test_layer
-class SStateTests(oeSelfTest):
+class SStateBase(oeSelfTest):
def setUpLocal(self):
self.temp_sstate_location = None
@@ -51,6 +51,7 @@ class SStateTests(oeSelfTest):
result.append(f)
return result
+class SStateTests(SStateBase):
# Test sstate files creation and their location
def run_test_sstate_creation(self, targets, distro_specific=True, distro_nonspecific=True, temp_sstate_location=True, should_pass=True):