Skip to content

Commit c3338c9

Browse files
committed
Workaround for issues #347 and #348
1 parent fbabc4c commit c3338c9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Tests/runner.py

+7
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,13 @@ def _check_tool(tool_name):
9191
"""
9292
if platform.system() == 'Windows':
9393
tool_name += '.exe'
94+
# XXX start hack to bypass these issues
95+
# https://github.com/adobe-type-tools/afdko/issues/347
96+
# https://github.com/adobe-type-tools/afdko/issues/348
97+
if tool_name.split('.')[0] in ('sfntdiff', 'sfntedit', 'makeotfexe',
98+
'type1', 'detype1'):
99+
return tool_name
100+
# XXX end hack
94101
try:
95102
subprocess.check_output([tool_name, '-h'])
96103
return tool_name

0 commit comments

Comments
 (0)