diff options
author | Robert Scott <code@humanleg.org.uk> | 2023-08-19 11:52:29 +0100 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2023-08-20 00:45:36 +0200 |
commit | 174bd27ec81df6d6deccd7da05f3b10c3f7a93f4 (patch) | |
tree | 63cc2a92f9807a98a3d694bdf96c2322e02c0037 /pkgs | |
parent | 5726fc02de008b54171592c8066e42c5b6abb089 (diff) |
jhead: enable tests
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/graphics/jhead/default.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/jhead/default.nix b/pkgs/tools/graphics/jhead/default.nix index ad916624f6f18..35000088fea9b 100644 --- a/pkgs/tools/graphics/jhead/default.nix +++ b/pkgs/tools/graphics/jhead/default.nix @@ -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 \ |