summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/utils/decorators.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/utils/decorators.py')
-rw-r--r--meta/lib/oeqa/utils/decorators.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oeqa/utils/decorators.py b/meta/lib/oeqa/utils/decorators.py
index 7a86970873..2169a20884 100644
--- a/meta/lib/oeqa/utils/decorators.py
+++ b/meta/lib/oeqa/utils/decorators.py
@@ -33,6 +33,10 @@ class getResults(object):
33 ret.append(s.replace("setUpModule (", "").replace(")","")) 33 ret.append(s.replace("setUpModule (", "").replace(")",""))
34 else: 34 else:
35 ret.append(s) 35 ret.append(s)
36 # Append also the test without the full path
37 testname = s.split('.')[-1]
38 if testname:
39 ret.append(testname)
36 return ret 40 return ret
37 self.faillist = handleList(upperf.f_locals['result'].failures) 41 self.faillist = handleList(upperf.f_locals['result'].failures)
38 self.errorlist = handleList(upperf.f_locals['result'].errors) 42 self.errorlist = handleList(upperf.f_locals['result'].errors)