summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorKonrad Weihmann <kweihmann@outlook.com>2020-11-10 20:20:15 +0100
committerSteve Sakoman <steve@sakoman.com>2020-11-11 04:35:09 -1000
commit4ebf97e36d9def38fb869cbbbd5ce10f5d2669a3 (patch)
tree4cf1e2a5ab0b46808883e39fcbac2f9f62574271 /meta/lib
parent07a3ea1aece5c67d75b60417ee0978cc0e15719a (diff)
downloadopenembedded-core-contrib-4ebf97e36d9def38fb869cbbbd5ce10f5d2669a3.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 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: Steve Sakoman <steve@sakoman.com>
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 4ce3089ad0..4e238f80a4 100644
--- a/meta/lib/oeqa/core/context.py
+++ b/meta/lib/oeqa/core/context.py
@@ -85,6 +85,7 @@ class OETestContext(object):
self.skipTests(skips)
self._run_start_time = time.time()
+ self._run_end_time = self._run_start_time
if not processes:
self.runner.buffer = True
result = self.runner.run(self.prepareSuite(self.suites, processes))