summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-13 16:22:29 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-16 13:21:34 +0100
commit9a53d315ef63ce2b2573e7d8b6814edf3549e98f (patch)
tree0860bc23f4e5eb022b7765665d92d8c62e9d69d0 /meta/lib/oeqa
parent75d5d0e87310d1e7571c3ac0046fe0310eeef707 (diff)
downloadpoky-9a53d315ef63ce2b2573e7d8b6814edf3549e98f.tar.gz
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>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r--meta/lib/oeqa/selftest/cases/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/package.py b/meta/lib/oeqa/selftest/cases/package.py
index 169698f780..ef6eabef66 100644
--- a/meta/lib/oeqa/selftest/cases/package.py
+++ b/meta/lib/oeqa/selftest/cases/package.py
@@ -29,7 +29,7 @@ class VersionOrdering(OESelftestTestCase):
29 cls.bindir = oe.path.join(cls.staging, vars["bindir_native"]) 29 cls.bindir = oe.path.join(cls.staging, vars["bindir_native"])
30 cls.libdir = oe.path.join(cls.staging, vars["libdir_native"]) 30 cls.libdir = oe.path.join(cls.staging, vars["libdir_native"])
31 31
32 def setUp(self): 32 def setUpLocal(self):
33 # Just for convenience 33 # Just for convenience
34 self.staging = type(self).staging 34 self.staging = type(self).staging
35 self.bindir = type(self).bindir 35 self.bindir = type(self).bindir