diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/testimage.bbclass | 4 | ||||
-rw-r--r-- | meta/classes/testsdk.bbclass | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index fb214604a9..d42907cf80 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 | tc.logSummary(results, pn) | 295 | results.logSummary(pn) |
296 | tc.logDetails() | 296 | results.logDetails() |
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 4740233910..edea89cbf4 100644 --- a/meta/classes/testsdk.bbclass +++ b/meta/classes/testsdk.bbclass | |||
@@ -70,8 +70,8 @@ def testsdk_main(d): | |||
70 | component = "%s %s" % (pn, OESDKTestContextExecutor.name) | 70 | component = "%s %s" % (pn, OESDKTestContextExecutor.name) |
71 | context_msg = "%s:%s" % (os.path.basename(tcname), os.path.basename(sdk_env)) | 71 | context_msg = "%s:%s" % (os.path.basename(tcname), os.path.basename(sdk_env)) |
72 | 72 | ||
73 | tc.logSummary(result, component, context_msg) | 73 | result.logSummary(component, context_msg) |
74 | tc.logDetails() | 74 | result.logDetails() |
75 | 75 | ||
76 | if not result.wasSuccessful(): | 76 | if not result.wasSuccessful(): |
77 | fail = True | 77 | fail = True |
@@ -172,8 +172,8 @@ def testsdkext_main(d): | |||
172 | component = "%s %s" % (pn, OESDKExtTestContextExecutor.name) | 172 | component = "%s %s" % (pn, OESDKExtTestContextExecutor.name) |
173 | context_msg = "%s:%s" % (os.path.basename(tcname), os.path.basename(sdk_env)) | 173 | context_msg = "%s:%s" % (os.path.basename(tcname), os.path.basename(sdk_env)) |
174 | 174 | ||
175 | tc.logSummary(result, component, context_msg) | 175 | result.logSummary(component, context_msg) |
176 | tc.logDetails() | 176 | result.logDetails() |
177 | 177 | ||
178 | if not result.wasSuccessful(): | 178 | if not result.wasSuccessful(): |
179 | fail = True | 179 | fail = True |