From: Konrad Weihmann Date: Tue, 10 Nov 2020 19:20:15 +0000 (+0100) Subject: oeqa/core/context: initialize _run_end_time X-Git-Tag: 2020-04.4-dunfell~19 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=4ebf97e36d9def38fb869cbbbd5ce10f5d2669a3;p=openembedded-core.git 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: Steve Sakoman --- 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))