diff options
author | Corneliu Stoicescu <corneliux.stoicescu@intel.com> | 2014-01-14 14:21:19 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-16 12:18:51 +0000 |
commit | 31b8c56033aa037596dea4ead846316014bebca8 (patch) | |
tree | adac2de4c1317a1398473aecfd307cb1d1aad3e3 /meta/lib/oeqa/selftest/sstate.py | |
parent | f1f0787cd41c4130d74e2d41bbf582bd62c9e0ee (diff) | |
download | poky-31b8c56033aa037596dea4ead846316014bebca8.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
(From OE-Core rev: 78e929bbcdce1f9a544b230433b93f4fc1f841e2)
Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/sstate.py')
-rw-r--r-- | meta/lib/oeqa/selftest/sstate.py | 3 |
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 | |||
8 | from oeqa.selftest.base import oeSelfTest | 8 | from oeqa.selftest.base import oeSelfTest |
9 | from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_test_layer | 9 | from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_test_layer |
10 | 10 | ||
11 | class SStateTests(oeSelfTest): | 11 | class SStateBase(oeSelfTest): |
12 | 12 | ||
13 | def setUpLocal(self): | 13 | def setUpLocal(self): |
14 | self.temp_sstate_location = None | 14 | self.temp_sstate_location = None |
@@ -51,6 +51,7 @@ class SStateTests(oeSelfTest): | |||
51 | result.append(f) | 51 | result.append(f) |
52 | return result | 52 | return result |
53 | 53 | ||
54 | class SStateTests(SStateBase): | ||
54 | 55 | ||
55 | # Test sstate files creation and their location | 56 | # Test sstate files creation and their location |
56 | def run_test_sstate_creation(self, targets, distro_specific=True, distro_nonspecific=True, temp_sstate_location=True, should_pass=True): | 57 | def run_test_sstate_creation(self, targets, distro_specific=True, distro_nonspecific=True, temp_sstate_location=True, should_pass=True): |