mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
oeqa/selftest/package: Use setUpLocal, not setUp
The main setUp function needs to be called and tests are meant to define setUpLocal. For some reason this one didn't leading to errors with recent code changes. Fix it. (From OE-Core rev: aef07f09e224485539d8bc66ddac8bf394e4092a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -29,7 +29,7 @@ class VersionOrdering(OESelftestTestCase):
|
||||
cls.bindir = oe.path.join(cls.staging, vars["bindir_native"])
|
||||
cls.libdir = oe.path.join(cls.staging, vars["libdir_native"])
|
||||
|
||||
def setUp(self):
|
||||
def setUpLocal(self):
|
||||
# Just for convenience
|
||||
self.staging = type(self).staging
|
||||
self.bindir = type(self).bindir
|
||||
|
||||
Reference in New Issue
Block a user