summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dovetail/report.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/dovetail/report.py b/dovetail/report.py
index c7eff3d2..c51ce687 100644
--- a/dovetail/report.py
+++ b/dovetail/report.py
@@ -386,11 +386,17 @@ class FunctestChecker(object):
def get_sub_testcase(sub_testcase, result):
if not result:
return False
+ sub_testcase = re.sub("\[.*?\]", "", sub_testcase)
reg = sub_testcase + '[\s+\d+]'
find_reg = re.compile(reg)
match = find_reg.findall(result)
if match:
return True
+ reg = sub_testcase + '$'
+ find_reg = re.compile(reg)
+ match = find_reg.findall(result)
+ if match:
+ return True
return False
def check(self, testcase, db_result):