mirror of
git://git.yoctoproject.org/poky
synced 2026-08-12 09:42:01 +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:
parent
75d5d0e873
commit
9a53d315ef
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user