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:
@@ -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/";
|
||||
|
||||
Reference in New Issue
Block a user