Ceedling should normalize paths before checking for files in ignored list in gcov.rb
jonathon-generac opened this issue · comments
In gcov.rb
, inside of loop COLLECTION_ALL_SOURCE.each do |source|
, Ceedling checks to see if source
is present in ignore_uncovered_list
. However, the paths in either list are not normalized, so if one list prefixes all paths with ./
and another list doesn't, then matches will not be identified. Using the latest version of Ceedling, I did have luck getting gcov_uncovered_ignore_list
to work if everything in the paths
section used the same format as everything in gcov_uncovered_ignore_list
, but even this did not appear to work in an older version of Ceedling. As a general practice, it would be a good idea to normalize all paths when each list of files is created.