python312Packages.scikit-fmm: run checkPhase hooks, echo check command

This commit is contained in:
Peder Bergebakken Sundt
2024-11-08 15:51:29 +01:00
parent 1c418186cf
commit bd2ea53052
@@ -23,8 +23,13 @@ buildPythonPackage rec {
dependencies = [ numpy ];
checkPhase = ''
runHook preCheck
# "Do not run the tests from the source directory"
mkdir testdir; cd testdir
${python.interpreter} -c "import skfmm, sys; sys.exit(skfmm.test())"
(set -x
${python.interpreter} -c "import skfmm, sys; sys.exit(skfmm.test())"
)
runHook postCheck
'';
meta = with lib; {