summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/core/context.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/core/context.py')
-rw-r--r--meta/lib/oeqa/core/context.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oeqa/core/context.py b/meta/lib/oeqa/core/context.py
index 6667f46f1e..5f399fdfcc 100644
--- a/meta/lib/oeqa/core/context.py
+++ b/meta/lib/oeqa/core/context.py
@@ -143,6 +143,9 @@ class OETestContextExecutor(object):
143 143
144 self.module_paths = args.CASES_PATHS 144 self.module_paths = args.CASES_PATHS
145 145
146 def _pre_run(self):
147 pass
148
146 def run(self, logger, args): 149 def run(self, logger, args):
147 self._process_args(logger, args) 150 self._process_args(logger, args)
148 151
@@ -152,6 +155,7 @@ class OETestContextExecutor(object):
152 if args.list_tests: 155 if args.list_tests:
153 rc = self.tc.listTests(args.list_tests, **self.tc_kwargs['run']) 156 rc = self.tc.listTests(args.list_tests, **self.tc_kwargs['run'])
154 else: 157 else:
158 self._pre_run()
155 rc = self.tc.runTests(**self.tc_kwargs['run']) 159 rc = self.tc.runTests(**self.tc_kwargs['run'])
156 rc.logSummary(self.name) 160 rc.logSummary(self.name)
157 rc.logDetails() 161 rc.logDetails()