diff options
Diffstat (limited to 'meta/lib/oeqa/core/context.py')
-rw-r--r-- | meta/lib/oeqa/core/context.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/lib/oeqa/core/context.py b/meta/lib/oeqa/core/context.py index efed4e6b04..4476750a3c 100644 --- a/meta/lib/oeqa/core/context.py +++ b/meta/lib/oeqa/core/context.py | |||
@@ -215,7 +215,11 @@ class OETestContextExecutor(object): | |||
215 | else: | 215 | else: |
216 | self.tc_kwargs['init']['td'] = {} | 216 | self.tc_kwargs['init']['td'] = {} |
217 | 217 | ||
218 | self.tc_kwargs['load']['modules'] = args.run_tests.split() | 218 | |
219 | if args.run_tests: | ||
220 | self.tc_kwargs['load']['modules'] = args.run_tests.split() | ||
221 | else: | ||
222 | self.tc_kwargs['load']['modules'] = None | ||
219 | 223 | ||
220 | self.module_paths = args.CASES_PATHS | 224 | self.module_paths = args.CASES_PATHS |
221 | 225 | ||