summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime/skeletoninit.py
diff options
context:
space:
mode:
authorLucian Musat <georgex.l.musat@intel.com>2014-07-24 15:41:24 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-25 15:34:00 +0100
commit0c4dd0ad168e138ba96eaf27aa7e513aaf6704ee (patch)
tree04108e45fe1750a44b72ca1650f4cb8e1d466369 /meta/lib/oeqa/runtime/skeletoninit.py
parent0565d8bc17b061a8a6087f1667e10a3e3608c88e (diff)
downloadpoky-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/skeletoninit.py')
0 files changed, 0 insertions, 0 deletions