summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2017-06-07 11:39:38 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-09 17:12:15 +0100
commite9a6fd9e9779757773a172475d9725823dd3d5ff (patch)
tree3591e9f502360efc05f6c48e2110bfd94e89b2bd /meta/lib
parent78568b3a377f7a981fa32162370341556b1c4940 (diff)
downloadpoky-e9a6fd9e9779757773a172475d9725823dd3d5ff.tar.gz
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] (From OE-Core rev: 4e3ab36e8c90abc740cce1ba31faf6595116e1e2) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/core/context.py2
-rw-r--r--meta/lib/oeqa/selftest/context.py2
2 files changed, 2 insertions, 2 deletions
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