summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/testimage.bbclass2
-rw-r--r--meta/classes/testsdk.bbclass4
-rw-r--r--meta/lib/oeqa/core/context.py2
-rw-r--r--meta/lib/oeqa/selftest/context.py2
4 files changed, 5 insertions, 5 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index 1185593a1b..6c33e16e3d 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -292,8 +292,8 @@ def testimage_main(d):
292 # Show results (if we have them) 292 # Show results (if we have them)
293 if not results: 293 if not results:
294 bb.fatal('%s - FAILED - tests were interrupted during execution' % pn) 294 bb.fatal('%s - FAILED - tests were interrupted during execution' % pn)
295 results.logSummary(pn)
296 results.logDetails() 295 results.logDetails()
296 results.logSummary(pn)
297 if not results.wasSuccessful(): 297 if not results.wasSuccessful():
298 bb.fatal('%s - FAILED - check the task log and the ssh log' % pn) 298 bb.fatal('%s - FAILED - check the task log and the ssh log' % pn)
299 299
diff --git a/meta/classes/testsdk.bbclass b/meta/classes/testsdk.bbclass
index 8a9e680328..6b51a33db2 100644
--- a/meta/classes/testsdk.bbclass
+++ b/meta/classes/testsdk.bbclass
@@ -72,8 +72,8 @@ def testsdk_main(d):
72 component = "%s %s" % (pn, OESDKTestContextExecutor.name) 72 component = "%s %s" % (pn, OESDKTestContextExecutor.name)
73 context_msg = "%s:%s" % (os.path.basename(tcname), os.path.basename(sdk_env)) 73 context_msg = "%s:%s" % (os.path.basename(tcname), os.path.basename(sdk_env))
74 74
75 result.logSummary(component, context_msg)
76 result.logDetails() 75 result.logDetails()
76 result.logSummary(component, context_msg)
77 77
78 if not result.wasSuccessful(): 78 if not result.wasSuccessful():
79 fail = True 79 fail = True
@@ -176,8 +176,8 @@ def testsdkext_main(d):
176 component = "%s %s" % (pn, OESDKExtTestContextExecutor.name) 176 component = "%s %s" % (pn, OESDKExtTestContextExecutor.name)
177 context_msg = "%s:%s" % (os.path.basename(tcname), os.path.basename(sdk_env)) 177 context_msg = "%s:%s" % (os.path.basename(tcname), os.path.basename(sdk_env))
178 178
179 result.logSummary(component, context_msg)
180 result.logDetails() 179 result.logDetails()
180 result.logSummary(component, context_msg)
181 181
182 if not result.wasSuccessful(): 182 if not result.wasSuccessful():
183 fail = True 183 fail = True
diff --git a/meta/lib/oeqa/core/context.py b/meta/lib/oeqa/core/context.py
index 0dbf5c353e..2d543ffa31 100644
--- a/meta/lib/oeqa/core/context.py
+++ b/meta/lib/oeqa/core/context.py
@@ -158,8 +158,8 @@ class OETestContextExecutor(object):
158 else: 158 else:
159 self._pre_run() 159 self._pre_run()
160 rc = self.tc.runTests(**self.tc_kwargs['run']) 160 rc = self.tc.runTests(**self.tc_kwargs['run'])
161 rc.logSummary(self.name)
162 rc.logDetails() 161 rc.logDetails()
162 rc.logSummary(self.name)
163 163
164 output_link = os.path.join(os.path.dirname(args.output_log), 164 output_link = os.path.join(os.path.dirname(args.output_log),
165 "%s-results.log" % self.name) 165 "%s-results.log" % self.name)
diff --git a/meta/lib/oeqa/selftest/context.py b/meta/lib/oeqa/selftest/context.py
index ca73070c0b..8c8439bf28 100644
--- a/meta/lib/oeqa/selftest/context.py
+++ b/meta/lib/oeqa/selftest/context.py
@@ -179,8 +179,8 @@ class OESelftestTestContextExecutor(OETestContextExecutor):
179 else: 179 else:
180 self._pre_run() 180 self._pre_run()
181 rc = self.tc.runTests(**self.tc_kwargs['run']) 181 rc = self.tc.runTests(**self.tc_kwargs['run'])
182 rc.logSummary(self.name)
183 rc.logDetails() 182 rc.logDetails()
183 rc.logSummary(self.name)
184 184
185 return rc 185 return rc
186 186