From aeb8c9341b2250261592291269d0cfaf4498a917 Mon Sep 17 00:00:00 2001 From: Aníbal Limón Date: Fri, 26 May 2017 15:37:35 -0500 Subject: oeqa/core/runner: OETestResult add internal _tc_map_results MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This method is to assign results into the TestContext, create an internal one to support change implementation in Thread version. [YOCTO #11450] (From OE-Core rev: 8a6a9cb816d78e4cf71b79c35b579918d31053f2) Signed-off-by: Aníbal Limón Signed-off-by: Richard Purdie --- meta/lib/oeqa/core/runner.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta') diff --git a/meta/lib/oeqa/core/runner.py b/meta/lib/oeqa/core/runner.py index 75058384ae..3ebffc7c4c 100644 --- a/meta/lib/oeqa/core/runner.py +++ b/meta/lib/oeqa/core/runner.py @@ -39,7 +39,9 @@ class OETestResult(_TestResult): super(OETestResult, self).__init__(*args, **kwargs) self.tc = tc + self._tc_map_results() + def _tc_map_results(self): self.tc._results['failures'] = self.failures self.tc._results['errors'] = self.errors self.tc._results['skipped'] = self.skipped -- cgit v1.2.3-54-g00ecf