Commit 345cfe4d authored by Adrian Pistol's avatar Adrian Pistol
Browse files

chrony: run unit tests; build in parallel

parent 8c67eec6
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -64,8 +64,14 @@ stdenv'.mkDerivation rec {

  postPatch = ''
    patchShebangs test

    # nts_ke_session unit test fails, so drop it.
    rm test/unit/nts_ke_session.c
  '';

  enableParallelBuilding = true;
  doCheck = true;

  hardeningEnable = lib.optionals (!stdenv.hostPlatform.isDarwin) [ "pie" ];

  passthru.tests = {