2 """Remove unwanted files from LCOV data.
4 jstd and node-coveralls won't do this themselves, so we have to!
7 cat lcov.dat | ./filter-lcov.py > filtered-lcov.dat
13 # Exclude paths which match any of these regular expressions.
15 re
.compile(r
'auto_tests')
19 for regex
in exclude_res
:
20 if re
.search(regex
, path
):
26 for line
in fileinput
.input():
28 if line
.startswith('SF:'):