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:
parent
b4093a24a8
commit
35d79c7666
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue