jhead: enable tests

This commit is contained in:
Robert Scott 2023-08-19 11:52:29 +01:00 committed by Robert Helgesson
parent 5726fc02de
commit 174bd27ec8

View File

@ -15,6 +15,19 @@ stdenv.mkDerivation rec {
makeFlags = [ "CPPFLAGS=" "CFLAGS=-O3" "LDFLAGS=" ];
doCheck = true;
checkPhase = ''
runHook preCheck
(
cd tests
patchShebangs runtests pretend-editor
./runtests
)
runHook postCheck
'';
installPhase = ''
mkdir -p \
$out/bin \