Commit 174bd27e authored by Robert Scott's avatar Robert Scott Committed by Robert Helgesson
Browse files

jhead: enable tests

parent 5726fc02
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -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 \