mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 02:55:39 +00:00
python3.pkgs.scipy: really exit when tests fail.
This commit is contained in:
parent
2abdb71b99
commit
01e53f7065
@ -142,7 +142,7 @@ in buildPythonPackage {
|
||||
runHook preCheck
|
||||
pushd "$out"
|
||||
export OMP_NUM_THREADS=$(( $NIX_BUILD_CORES / 4 ))
|
||||
${python.interpreter} -c "import scipy; scipy.test('fast', verbose=10, parallel=$NIX_BUILD_CORES)"
|
||||
${python.interpreter} -c "import scipy, sys; sys.exit(scipy.test('fast', verbose=10, parallel=$NIX_BUILD_CORES) != True)"
|
||||
popd
|
||||
runHook postCheck
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user