Skip subset to fonttools comparison test if TTX is not present.
This commit is contained in:
parent
29d915284e
commit
d4d120ad79
|
@ -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…
Reference in New Issue