python3.pkgs.pymanopt: add pre and post check
This commit is contained in:
parent
7afc6dc7be
commit
1142380b3f
@ -25,6 +25,7 @@ buildPythonPackage rec {
|
|||||||
checkInputs = [ nose2 autograd matplotlib tensorflow ];
|
checkInputs = [ nose2 autograd matplotlib tensorflow ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
runHook preCheck
|
||||||
# FIXME: Some numpy regression?
|
# FIXME: Some numpy regression?
|
||||||
# Traceback (most recent call last):
|
# Traceback (most recent call last):
|
||||||
# File "/build/source/tests/manifolds/test_hyperbolic.py", line 270, in test_second_order_function_approximation
|
# File "/build/source/tests/manifolds/test_hyperbolic.py", line 270, in test_second_order_function_approximation
|
||||||
@ -35,6 +36,7 @@ buildPythonPackage rec {
|
|||||||
rm tests/manifolds/test_hyperbolic.py
|
rm tests/manifolds/test_hyperbolic.py
|
||||||
|
|
||||||
nose2 tests -v
|
nose2 tests -v
|
||||||
|
runHook postCheck
|
||||||
'';
|
'';
|
||||||
|
|
||||||
pythonImportsCheck = [ "pymanopt" ];
|
pythonImportsCheck = [ "pymanopt" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user