aboutsummaryrefslogtreecommitdiffstats
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-15 16:34:12 +0100
commitaef07f09e224485539d8bc66ddac8bf394e4092a (patch)
tree3552165be19bc795b6cd676f31a290e62fa79c08
parent4374c296d8963e4f6a1aa7bef7983ad0a1c2fcff (diff)
downloadopenembedded-core-contrib-aef07f09e224485539d8bc66ddac8bf394e4092a.tar.gz
openembedded-core-contrib-aef07f09e224485539d8bc66ddac8bf394e4092a.tar.bz2
openembedded-core-contrib-aef07f09e224485539d8bc66ddac8bf394e4092a.zip
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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):
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