Skip to content
Snippets Groups Projects
Commit ee07f777 authored by Jammer, Tim's avatar Jammer, Tim
Browse files

fix missclassification of deadlock

parent 68e22036
No related branches found
No related tags found
No related merge requests found
...@@ -308,7 +308,7 @@ def parse_one_code(filename): ...@@ -308,7 +308,7 @@ def parse_one_code(filename):
state = 2 state = 2
else: else:
raise ValueError(f"Unexpected end of MBB_TESTS header at line {line_num}: \n{line}") raise ValueError(f"Unexpected end of MBB_TESTS header at line {line_num}: \n{line}")
elif re.match("This testcase can result in a Deadlock", line): elif "This testcase can result in a Deadlock" in line:
can_deadlock = True can_deadlock = True
if state == 1 and re.match("\s+\$ ?.*", line): if state == 1 and re.match("\s+\$ ?.*", line):
m = re.match('\s+\$ ?(.*)', line) m = re.match('\s+\$ ?(.*)', line)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment