[oe-commits] Corneliu Stoicescu : oe-selftest: New object SStateBase cut off from SStateTests.

git at git.openembedded.org git at git.openembedded.org
Thu Jan 16 12:14:54 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: 78e929bbcdce1f9a544b230433b93f4fc1f841e2
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=78e929bbcdce1f9a544b230433b93f4fc1f841e2

Author: Corneliu Stoicescu <corneliux.stoicescu at intel.com>
Date:   Tue Jan 14 14:21:19 2014 +0100

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 at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/lib/oeqa/selftest/sstate.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/selftest/sstate.py b/meta/lib/oeqa/selftest/sstate.py
index 98c1426..a0489fe 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):



More information about the Openembedded-commits mailing list