summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorKonrad Weihmann <kweihmann@outlook.com>2020-11-10 20:20:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-20 10:53:21 +0000
commit0647439a0a02d8a433ae9d262b98b66d76888b7b (patch)
tree7eb337e536fdd0c2ea75ef3716decaa6abf6872c /meta/lib
parent87a05c731693ef8dc5869ab6d3215070d2ec8be2 (diff)
downloadpoky-0647439a0a02d8a433ae9d262b98b66d76888b7b.tar.gz
oeqa/core/context: initialize _run_end_time
with _run_start_time as value. For partial results of interrupted runs, this info might be otherwise missing for at least one testcase (From OE-Core rev: a91308482e1bb524df413d4342a9ebb472314663) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1c5e8baf57fa2a33b9ef507b11d9ea9acaa77238) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/core/context.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/core/context.py b/meta/lib/oeqa/core/context.py
index 84b43a93e1..2abe353d27 100644
--- a/meta/lib/oeqa/core/context.py
+++ b/meta/lib/oeqa/core/context.py
@@ -85,6 +85,7 @@ class OETestContext(object):
85 self.skipTests(skips) 85 self.skipTests(skips)
86 86
87 self._run_start_time = time.time() 87 self._run_start_time = time.time()
88 self._run_end_time = self._run_start_time
88 if not processes: 89 if not processes:
89 self.runner.buffer = True 90 self.runner.buffer = True
90 result = self.runner.run(self.prepareSuite(self.suites, processes)) 91 result = self.runner.run(self.prepareSuite(self.suites, processes))