diff options
author | Konrad Weihmann <kweihmann@outlook.com> | 2020-11-10 20:20:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-11-11 10:08:12 +0000 |
commit | 3c4147880e501335b4be098478d0c94db49a6042 (patch) | |
tree | debac31f716b9bb1f7215210644524f264bca33f /meta/lib | |
parent | 02be651f881db50bcdb8e6d1e79165ac29a4b404 (diff) | |
download | poky-3c4147880e501335b4be098478d0c94db49a6042.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: 1c5e8baf57fa2a33b9ef507b11d9ea9acaa77238)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/core/context.py | 1 |
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)) |