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:
parent
fcf7edf694
commit
197a70aab2
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue