Merge pull request #109550 from sternenseemann/ufoprocessor-tests

This commit is contained in:
Sandro 2021-01-17 13:40:16 +01:00 committed by GitHub
commit 5ee79ca557
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,9 +26,14 @@ buildPythonPackage rec {
mutatormath mutatormath
]; ];
# tests require custom commands to run checkPhase = ''
doCheck = false; runHook preCheck
pythonImportsCheck = [ "ufoProcessor" ]; 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; { meta = with lib; {
description = "Read, write and generate UFOs with designspace data"; description = "Read, write and generate UFOs with designspace data";