Skip to content

Commit 5d72205

Browse files
committed
Add regular expression for vim tests
Signed-off-by: Matthew Johnson <[email protected]>
1 parent e13d3ed commit 5d72205

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

autospec/count.py

+7
Original file line numberDiff line numberDiff line change
@@ -1104,6 +1104,13 @@ def parse_log(log, pkgname=''):
11041104
total_fail += convert_int(match.group(3))
11051105
continue
11061106

1107+
# vim
1108+
# Executed 9 tests
1109+
match = re.search(r"Executed ([0-9]+) tests$", line)
1110+
if match and incheck:
1111+
total_tests += convert_int(match.group(1))
1112+
continue
1113+
11071114
# rubygem-formatador
11081115
# 9 succeeded in 0.00375661 seconds
11091116
match = re.search(r"([0-9]+) succeeded in [0-9]+\.[0-9]+ seconds", line)

0 commit comments

Comments
 (0)