oeqa selftest context.py: whitespace fix

(From OE-Core rev: fa4204c34efeda543a108c942cd50a6d6322600e)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
(cherry picked from commit 8aed3ca405cb3cc5d346eb8da8b3307d93f75d5b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
Mikko Rapeli
2023-08-23 09:10:21 +03:00
committed by Steve Sakoman
parent d61e137c1a
commit 0198d514d6

View File

@@ -216,14 +216,14 @@ class OESelftestTestContextExecutor(OETestContextExecutor):
machines = []
bbpath = self.tc_kwargs['init']['td']['BBPATH'].split(':')
for path in bbpath:
found_machines = glob.glob(os.path.join(path, 'conf', 'machine', '*.conf'))
if found_machines:
for i in found_machines:
# eg: '/home/<user>/poky/meta-intel/conf/machine/intel-core2-32.conf'
machines.append(os.path.splitext(os.path.basename(i))[0])
return machines
def _get_cases_paths(self, bbpath):