diff options
-rw-r--r-- | meta/lib/oeqa/selftest/context.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/context.py b/meta/lib/oeqa/selftest/context.py index f2a5ba792f..4b33245758 100644 --- a/meta/lib/oeqa/selftest/context.py +++ b/meta/lib/oeqa/selftest/context.py | |||
@@ -226,14 +226,14 @@ class OESelftestTestContextExecutor(OETestContextExecutor): | |||
226 | machines = [] | 226 | machines = [] |
227 | 227 | ||
228 | bbpath = self.tc_kwargs['init']['td']['BBPATH'].split(':') | 228 | bbpath = self.tc_kwargs['init']['td']['BBPATH'].split(':') |
229 | 229 | ||
230 | for path in bbpath: | 230 | for path in bbpath: |
231 | found_machines = glob.glob(os.path.join(path, 'conf', 'machine', '*.conf')) | 231 | found_machines = glob.glob(os.path.join(path, 'conf', 'machine', '*.conf')) |
232 | if found_machines: | 232 | if found_machines: |
233 | for i in found_machines: | 233 | for i in found_machines: |
234 | # eg: '/home/<user>/poky/meta-intel/conf/machine/intel-core2-32.conf' | 234 | # eg: '/home/<user>/poky/meta-intel/conf/machine/intel-core2-32.conf' |
235 | machines.append(os.path.splitext(os.path.basename(i))[0]) | 235 | machines.append(os.path.splitext(os.path.basename(i))[0]) |
236 | 236 | ||
237 | return machines | 237 | return machines |
238 | 238 | ||
239 | def _get_cases_paths(self, bbpath): | 239 | def _get_cases_paths(self, bbpath): |