From 5d722054e90da13834e1aca3f0adf3aec7b776de Mon Sep 17 00:00:00 2001 From: Matthew Johnson Date: Thu, 2 Nov 2017 10:54:41 -0700 Subject: [PATCH] Add regular expression for vim tests Signed-off-by: Matthew Johnson --- autospec/count.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/autospec/count.py b/autospec/count.py index 2ceb1e7..157cff0 100644 --- a/autospec/count.py +++ b/autospec/count.py @@ -1104,6 +1104,13 @@ def parse_log(log, pkgname=''): total_fail += convert_int(match.group(3)) continue + # vim + # Executed 9 tests + match = re.search(r"Executed ([0-9]+) tests$", line) + if match and incheck: + total_tests += convert_int(match.group(1)) + continue + # rubygem-formatador # 9 succeeded in 0.00375661 seconds match = re.search(r"([0-9]+) succeeded in [0-9]+\.[0-9]+ seconds", line)