diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2017-06-07 11:39:38 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-09 17:12:06 +0100 |
commit | 4e3ab36e8c90abc740cce1ba31faf6595116e1e2 (patch) | |
tree | d7e152d842db32203964cc99a96136d78848173b /meta/classes | |
parent | d10edb97f0a7d6952adf9e0dbb6b4d5c0d168195 (diff) | |
download | openembedded-core-4e3ab36e8c90abc740cce1ba31faf6595116e1e2.tar.gz openembedded-core-4e3ab36e8c90abc740cce1ba31faf6595116e1e2.tar.bz2 openembedded-core-4e3ab36e8c90abc740cce1ba31faf6595116e1e2.zip |
oeqa: Change the order to logDetails and logSummary
Is better to log the summary at end to see in an easy way
the actual result of the test run.
[YOCTO #11622]
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/testimage.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/testsdk.bbclass | 4 |
2 files changed, 3 insertions, 3 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): # Show results (if we have them) if not results: bb.fatal('%s - FAILED - tests were interrupted during execution' % pn) - results.logSummary(pn) results.logDetails() + results.logSummary(pn) if not results.wasSuccessful(): bb.fatal('%s - FAILED - check the task log and the ssh log' % pn) 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): component = "%s %s" % (pn, OESDKTestContextExecutor.name) context_msg = "%s:%s" % (os.path.basename(tcname), os.path.basename(sdk_env)) - result.logSummary(component, context_msg) result.logDetails() + result.logSummary(component, context_msg) if not result.wasSuccessful(): fail = True @@ -176,8 +176,8 @@ def testsdkext_main(d): component = "%s %s" % (pn, OESDKExtTestContextExecutor.name) context_msg = "%s:%s" % (os.path.basename(tcname), os.path.basename(sdk_env)) - result.logSummary(component, context_msg) result.logDetails() + result.logSummary(component, context_msg) if not result.wasSuccessful(): fail = True |