forked from mirrors/nixpkgs
Merge pull request #109550 from sternenseemann/ufoprocessor-tests
This commit is contained in:
commit
5ee79ca557
|
@ -26,9 +26,14 @@ buildPythonPackage rec {
|
|||
mutatormath
|
||||
];
|
||||
|
||||
# tests require custom commands to run
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "ufoProcessor" ];
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
for t in Tests/*.py; do
|
||||
# https://github.com/LettError/ufoProcessor/issues/32
|
||||
[[ "$(basename "$t")" = "tests_fp.py" ]] || python "$t"
|
||||
done
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Read, write and generate UFOs with designspace data";
|
||||
|
|
Loading…
Reference in a new issue