sirius: use ctestCheckHook

This commit is contained in:
Sergei Zimmerman
2025-05-12 19:36:25 +00:00
parent 0a42a464be
commit a429add280
+6 -7
View File
@@ -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; {