smanders / externpro

build external projects with cmake
MIT License
13 stars 12 forks source link

coverage should ignore /opt/rh #297

Closed smanders closed 3 years ago

smanders commented 3 years ago

now that CentOS 7 is the official build platform (RIP CentOS 6), there appears to be another directory that should be ignored by coverage

this was discovered building palam, which currently excludes /opt/rh itself (until this change is made in externpro and released) https://isrhub.usurf.usu.edu/palam/palam/commit/5b82e2391503c13e16882a3572864787ae717f9c

here is the current cmake that populates XP_COVERAGE_RM, which is a list of directories to be ignored by coverage https://github.com/smanders/externpro/blob/21.01/modules/xpfunmac.cmake#L2079-L2085

smanders commented 3 years ago

completed with commit to dev branch referenced above