Unverified Commit a429add2 authored by Sergei Zimmerman's avatar Sergei Zimmerman
Browse files

sirius: use ctestCheckHook

parent 0a42a464
Loading
Loading
Loading
Loading
+6 −7
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@
  pkg-config,
  mpi,
  mpiCheckPhaseHook,
  ctestCheckHook,
  gfortran,
  blas,
  lapack,
@@ -152,16 +153,14 @@ stdenv.mkDerivation rec {
  # Can not run parallel checks generally as it requires exactly multiples of 4 MPI ranks
  # Even cpu_serial tests had to be disabled as they require scalapack routines in the sandbox
  # and run into the same problem as MPI tests
  checkPhase = ''
    runHook preCheck

    ctest --output-on-failure --label-exclude integration_test

    runHook postCheck
  '';
  checkFlags = [
    "--label-exclude"
    "integration_test"
  ];

  nativeCheckInputs = [
    mpiCheckPhaseHook
    ctestCheckHook
  ];

  meta = with lib; {