wakeonlan: Patch and run perl tests

The `pod_spell` test needed to be patched out, as it isn't relevant to packaging and is missing a dependency to run.
Removing it allows the rest of the tests to be ran for this package.
This commit is contained in:
melvyn2 2022-07-15 11:51:37 -07:00
parent b4093a24a8
commit 35d79c7666
No known key found for this signature in database
GPG key ID: 25A2B7280CE3AFF6

View file

@ -14,8 +14,12 @@ perlPackages.buildPerlPackage rec {
outputs = [ "out" ];
nativeBuildInputs = [ installShellFiles ];
# checkInputs = [ perl534Packages.TestPerlCritic perl534Packages.TestPod perl534Packages.TestPodCoverage ];
doCheck = false; # Missing package for https://github.com/genio/test-spelling to run tests
checkInputs = [ perlPackages.TestPerlCritic perlPackages.TestPod perlPackages.TestPodCoverage ];
# Linting and formatting checks are of no interest for us.
preCheck = ''
rm -f t/93_pod_spell.t
'';
installPhase = ''
install -Dt $out/bin wakeonlan