]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa/core/context: initialize _run_end_time
authorKonrad Weihmann <kweihmann@outlook.com>
Tue, 10 Nov 2020 19:20:15 +0000 (20:20 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Nov 2020 10:08:07 +0000 (10:08 +0000)
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>
meta/lib/oeqa/core/context.py

index 84b43a93e19a876a04ced6714668bd1d18c69eac..2abe353d2739ca817d2deabb054a470d29cd5973 100644 (file)
@@ -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))