Skip to content

Commit 2cf759a

Browse files
committed
Workaround for issues #347 and #348
1 parent f82645c commit 2cf759a

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
@@ -92,6 +92,13 @@ def _check_tool(tool_name):
9292
"""
9393
if platform.system() == 'Windows':
9494
tool_name += '.exe'
95+
# XXX start hack to bypass these issues
96+
# https://github.com/adobe-type-tools/afdko/issues/347
97+
# https://github.com/adobe-type-tools/afdko/issues/348
98+
if tool_name.split('.')[0] in ('sfntdiff', 'sfntedit', 'makeotfexe',
99+
'type1', 'detype1'):
100+
return tool_name
101+
# XXX end hack
95102
try:
96103
subprocess.check_output([tool_name, '-h'])
97104
return tool_name

0 commit comments

Comments
 (0)