From a91308482e1bb524df413d4342a9ebb472314663 Mon Sep 17 00:00:00 2001 From: Konrad Weihmann Date: Tue, 10 Nov 2020 20:20:15 +0100 Subject: 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 Signed-off-by: Richard Purdie (cherry picked from commit 1c5e8baf57fa2a33b9ef507b11d9ea9acaa77238) Signed-off-by: Anuj Mittal --- meta/lib/oeqa/core/context.py | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/lib/oeqa') 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): 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)) -- cgit 1.2.3-korg