diff options
author | Ross Burton <ross.burton@intel.com> | 2017-01-12 12:33:59 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-16 18:05:14 +0000 |
commit | 55228a1ca42f8e45b5ec992b10c763bd2164639f (patch) | |
tree | 9c7a379b1e2898b0757198cb37e53ee4041ef197 /meta/lib/oeqa/selftest | |
parent | 2abc37dbe872d5a25aa2db4d8a7b60ba38dd057d (diff) | |
download | poky-55228a1ca42f8e45b5ec992b10c763bd2164639f.tar.gz |
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.
(From OE-Core rev: ac1c118dcb3cb27807b55115ef274a92bb512dd6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest')
-rw-r--r-- | meta/lib/oeqa/selftest/base.py | 1 |
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): | |||
41 | self.testinc_path, self.testinc_bblayers_path, | 41 | self.testinc_path, self.testinc_bblayers_path, |
42 | self.machineinc_path, self.localconf_backup, | 42 | self.machineinc_path, self.localconf_backup, |
43 | self.local_bblayers_backup] | 43 | self.local_bblayers_backup] |
44 | self.distro = get_bb_var('DISTRO') | ||
45 | super(oeSelfTest, self).__init__(methodName) | 44 | super(oeSelfTest, self).__init__(methodName) |
46 | 45 | ||
47 | def setUp(self): | 46 | def setUp(self): |