mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-30 01:54:21 +01:00
Skip subset to fonttools comparison test if TTX is not present.
This commit is contained in:
1 parent
29d915284e
commit
d4d120ad79
1 file changed
+5
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user