sirius: use ctestCheckHook
This commit is contained in:
@@ -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; {
|
||||
|
||||
Reference in New Issue
Block a user