summaryrefslogtreecommitdiff
path: root/meta/lib/oeqa
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2017-01-12 12:33:59 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-16 18:01:56 +0000
commitac1c118dcb3cb27807b55115ef274a92bb512dd6 (patch)
treea275ec93f9cb83b5b16fee399cbb86b7af731d7e /meta/lib/oeqa
parentf812f9518ef01abbdd9a6f415e5dc92263135f87 (diff)
downloadopenembedded-core-ac1c118dcb3cb27807b55115ef274a92bb512dd6.tar.gz
openembedded-core-ac1c118dcb3cb27807b55115ef274a92bb512dd6.tar.bz2
openembedded-core-ac1c118dcb3cb27807b55115ef274a92bb512dd6.zip
selftest/base: don't fetch DISTRO variable in constructor
Fetching the DISTRO variable in the base constructor means that we have to start bitbake for every test case instance, which adds minutes to the startup time. Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r--meta/lib/oeqa/selftest/base.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/base.py b/meta/lib/oeqa/selftest/base.py
index b477db31fb..26c93f905a 100644
--- a/meta/lib/oeqa/selftest/base.py
+++ b/meta/lib/oeqa/selftest/base.py
@@ -41,7 +41,6 @@ class oeSelfTest(unittest.TestCase):
self.testinc_path, self.testinc_bblayers_path,
self.machineinc_path, self.localconf_backup,
self.local_bblayers_backup]
- self.distro = get_bb_var('DISTRO')
super(oeSelfTest, self).__init__(methodName)
def setUp(self):