summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/utils/logparser.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/lib/oeqa/utils/logparser.py b/meta/lib/oeqa/utils/logparser.py
index b377dcd271..4355ce0b76 100644
--- a/meta/lib/oeqa/utils/logparser.py
+++ b/meta/lib/oeqa/utils/logparser.py
@@ -9,7 +9,7 @@ from . import ftools
9# A parser that can be used to identify weather a line is a test result or a section statement. 9# A parser that can be used to identify weather a line is a test result or a section statement.
10class Lparser(object): 10class Lparser(object):
11 11
12 def __init__(self, test_0_pass_regex, test_0_fail_regex, section_0_begin_regex=None, section_0_end_regex=None, **kwargs): 12 def __init__(self, test_0_pass_regex, test_0_fail_regex, test_0_skip_regex, section_0_begin_regex=None, section_0_end_regex=None, **kwargs):
13 # Initialize the arguments dictionary 13 # Initialize the arguments dictionary
14 if kwargs: 14 if kwargs:
15 self.args = kwargs 15 self.args = kwargs
@@ -19,12 +19,13 @@ class Lparser(object):
19 # Add the default args to the dictionary 19 # Add the default args to the dictionary
20 self.args['test_0_pass_regex'] = test_0_pass_regex 20 self.args['test_0_pass_regex'] = test_0_pass_regex
21 self.args['test_0_fail_regex'] = test_0_fail_regex 21 self.args['test_0_fail_regex'] = test_0_fail_regex
22 self.args['test_0_skip_regex'] = test_0_skip_regex
22 if section_0_begin_regex: 23 if section_0_begin_regex:
23 self.args['section_0_begin_regex'] = section_0_begin_regex 24 self.args['section_0_begin_regex'] = section_0_begin_regex
24 if section_0_end_regex: 25 if section_0_end_regex:
25 self.args['section_0_end_regex'] = section_0_end_regex 26 self.args['section_0_end_regex'] = section_0_end_regex
26 27
27 self.test_possible_status = ['pass', 'fail', 'error'] 28 self.test_possible_status = ['pass', 'fail', 'error', 'skip']
28 self.section_possible_status = ['begin', 'end'] 29 self.section_possible_status = ['begin', 'end']
29 30
30 self.initialized = False 31 self.initialized = False