mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 04:39:40 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
f1f0787cd4
commit
31b8c56033
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user