The Dpkg::Arch and Dpkg::Source::Package modules are partially private, and several of its functions are not yet documented as public. Ignore these two for now to avoid the expected failures.
@@ -162,6 +162,7 @@ dpkg (1.18.11) UNRELEASED; urgency=medium
- Add new unit test for libdpkg error handling.
- Delete MAKEFLAGS environment variable when testing make invocations.
- Pass -q to grep command to suppress matched output in pod-coverage.t.
+ - Ignore POD coverage for partially private modules.
* Build system:
- Add support for profiling perl modules.
- Clean up compiler and linker automatic flag usage in configure.
@@ -39,8 +39,13 @@ sub all_pod_modules
$File::Find::name) == 0;
$module =~ s{^\Q$File::Find::topdir\E/}{};
+ $module =~ s{/}{::}g;
- push @modules, $module =~ s{/}{::}gr;
+ # Do not check partially private modules.
+ return if $module eq 'Dpkg::Arch';
+ return if $module eq 'Dpkg::Source::Package';
+
+ push @modules, $module;
};
my %options = (