]> code.ossystems Code Review - openembedded-core.git/commitdiff
oe-selftest: New object SStateBase cut off from SStateTests.
authorCorneliu Stoicescu <corneliux.stoicescu@intel.com>
Tue, 14 Jan 2014 13:21:19 +0000 (14:21 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Jan 2014 12:18:44 +0000 (12:18 +0000)
- 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>
meta/lib/oeqa/selftest/sstate.py

index 98c1426791af0165c6a2996a9e99c077f7808f68..a0489fe4f10012815b207a1fb28871a50f59c1e1 100644 (file)
@@ -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):