diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2017-05-26 15:37:35 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-02 13:36:13 +0100 |
commit | aeb8c9341b2250261592291269d0cfaf4498a917 (patch) | |
tree | e3f632f0238cb25789a5e60f9454fef1632bcfb5 /meta/lib | |
parent | ce422c7008aa394755c45a466c1a165dbbc1d356 (diff) | |
download | poky-aeb8c9341b2250261592291269d0cfaf4498a917.tar.gz |
oeqa/core/runner: OETestResult add internal _tc_map_results
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 <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/core/runner.py | 2 |
1 files changed, 2 insertions, 0 deletions
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): | |||
39 | super(OETestResult, self).__init__(*args, **kwargs) | 39 | super(OETestResult, self).__init__(*args, **kwargs) |
40 | 40 | ||
41 | self.tc = tc | 41 | self.tc = tc |
42 | self._tc_map_results() | ||
42 | 43 | ||
44 | def _tc_map_results(self): | ||
43 | self.tc._results['failures'] = self.failures | 45 | self.tc._results['failures'] = self.failures |
44 | self.tc._results['errors'] = self.errors | 46 | self.tc._results['errors'] = self.errors |
45 | self.tc._results['skipped'] = self.skipped | 47 | self.tc._results['skipped'] = self.skipped |