jhead: enable tests

This commit is contained in:
Robert Scott
2023-08-20 00:45:36 +02:00
committed by Robert Helgesson
parent 5726fc02de
commit 174bd27ec8
+13
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 \