You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-17 01:12:23 +02:00
Skip test modules in coverage report.
Coverage of the test code is useful during development but it does not seem worth adding it to the core code coverage report.
This commit is contained in:
@ -940,7 +940,8 @@ sub coverageDocSummaryGenerate
|
||||
|
||||
foreach my $strFileCov (sort(keys(%{$rhManifest})))
|
||||
{
|
||||
next if $strFileCov =~ /^test\//;
|
||||
# Skip test modules (this includes modules that start with src/ since src/ is stripped from core modules)
|
||||
next if $strFileCov =~ /^test\// || $strFileCov =~ /^src\//;
|
||||
|
||||
if ($strFileCov =~ /\.lcov$/)
|
||||
{
|
||||
|
Reference in New Issue
Block a user