1
0
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:
Richard Purdie
2018-07-13 16:22:29 +00:00
parent 75d5d0e873
commit 9a53d315ef
+1 -1
View File
@@ -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