python3Packages.afdko: run full test suite in passthru.tests

Testsuite delta seems to be 25% still (3min vs 4min on my machine…).
This commit is contained in:
sternenseemann
2021-10-05 19:51:06 +02:00
committed by sterni
parent 5104de2ad7
commit 462cc7f39c
@@ -6,6 +6,9 @@
, cmake
, antlr4_9
, pytestCheckHook
# Enables some expensive tests, useful for verifying an update
, runAllTests ? false
, afdko
}:
buildPythonPackage rec {
@@ -68,7 +71,7 @@ buildPythonPackage rec {
# https://github.com/adobe-type-tools/afdko/issues/1418
find tests -name layerinfo.plist -delete
'';
disabledTests = [
disabledTests = lib.optionals (!runAllTests) [
# Disable slow tests, reduces test time ~25 %
"test_report"
"test_post_overflow"
@@ -79,6 +82,10 @@ buildPythonPackage rec {
"test_options"
];
passthru.tests = {
fullTestsuite = afdko.override { runAllTests = true; };
};
meta = with lib; {
description = "Adobe Font Development Kit for OpenType";
homepage = "https://adobe-type-tools.github.io/afdko/";