mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-08 22:54:36 +00:00
Skip subset to fonttools comparison test if TTX is not present.
This commit is contained in:
parent
29d915284e
commit
d4d120ad79
1 changed files with 5 additions and 0 deletions
|
@ -78,6 +78,11 @@ if not len(args):
|
|||
print ("No tests supplied.")
|
||||
sys.exit (1)
|
||||
|
||||
_, returncode = cmd(["which", "ttx"])
|
||||
if returncode:
|
||||
print("TTX is not present, skipping test.")
|
||||
sys.exit (77)
|
||||
|
||||
fails = 0
|
||||
for path in args:
|
||||
with io.open(path, mode="r", encoding="utf-8") as f:
|
||||
|
|
Loading…
Add table
Reference in a new issue