diff options
author | Lucian Musat <georgex.l.musat@intel.com> | 2014-07-24 15:41:24 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-25 15:34:00 +0100 |
commit | 0c4dd0ad168e138ba96eaf27aa7e513aaf6704ee (patch) | |
tree | 04108e45fe1750a44b72ca1650f4cb8e1d466369 /meta/lib/oeqa/runtime/pam.py | |
parent | 0565d8bc17b061a8a6087f1667e10a3e3608c88e (diff) | |
download | poky-0c4dd0ad168e138ba96eaf27aa7e513aaf6704ee.tar.gz |
oeqa: Refactor test skipping decorators to use the unittest result object
In order to make the test skipping decorators independent of the oeTest object we rely on the unittest result object to construct skip, fail and error lists used by these decorators.
Created a new object getResults that analyses upper frames and retrieves the unittest result object instance, then return a list of failed, skipped and error tests.
Also removed the oetest import from decorators.py because it was no longer required.
(From OE-Core rev: 4d2d201158236bd4c72546cf8db88681ff921b11)
Signed-off-by: Lucian Musat <georgex.l.musat@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime/pam.py')
0 files changed, 0 insertions, 0 deletions