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 13:26:40 -07:00
parent b4093a24a8
commit 35d79c7666
+6 -2
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