Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workaround for issues #347 and #348
Browse files Browse the repository at this point in the history
miguelsousa committed Apr 30, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent fbabc4c commit c3338c9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Tests/runner.py
Original file line number Diff line number Diff line change
@@ -91,6 +91,13 @@ def _check_tool(tool_name):
"""
if platform.system() == 'Windows':
tool_name += '.exe'
# XXX start hack to bypass these issues
# https://github.com/adobe-type-tools/afdko/issues/347
# https://github.com/adobe-type-tools/afdko/issues/348
if tool_name.split('.')[0] in ('sfntdiff', 'sfntedit', 'makeotfexe',
'type1', 'detype1'):
return tool_name
# XXX end hack
try:
subprocess.check_output([tool_name, '-h'])
return tool_name

0 comments on commit c3338c9

Please sign in to comment.