Message ID | 1484225873-23702-2-git-send-email-ross.burton@intel.com |
---|---|
State | Accepted |
Commit | ac1c118dcb3cb27807b55115ef274a92bb512dd6 |
Headers | show |
diff --git a/meta/lib/oeqa/selftest/base.py b/meta/lib/oeqa/selftest/base.py index b477db3..26c93f9 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):
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> --- meta/lib/oeqa/selftest/base.py | 1 - 1 file changed, 1 deletion(-) -- 2.8.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core