Fix to coverage data collection

Skip all the test_problem subdirectories to avoid generating a command line that
is too long for some versions of lcov to handle properly.
This commit is contained in:
Ray Speth 2014-04-14 18:36:50 +00:00
parent fcf7edf694
commit 197a70aab2

View file

@ -15,6 +15,8 @@ def getDirectories():
sourcedirs = set()
rootdir = os.getcwd()
for dirpath, dirnames, filenames in os.walk(rootdir):
if 'test_problems' in dirpath or '/ext/' in dirpath:
continue
for fname in filenames:
if fname.endswith('.gcda'):
dirpath.replace(rootdir, '', 1)