From 49b1c763a0459d586b7f0aa86eadd13d21b24867 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 2 May 2019 16:19:34 -0700 Subject: [PATCH] [test] Run "fonttools ttx" instead of "ttx" --- test/subset/run-tests.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/subset/run-tests.py b/test/subset/run-tests.py index fb4684c..0a1bb10 100755 --- a/test/subset/run-tests.py +++ b/test/subset/run-tests.py @@ -32,11 +32,11 @@ def which(program): return None -ttx = which ("ttx") +fonttools = which ("fonttools") ots_sanitize = which ("ots-sanitize") -if not ttx: - print("TTX is not present, skipping test.") +if not fonttools: + print("fonttools is not present, skipping test.") sys.exit (77) def cmd(command): @@ -101,8 +101,8 @@ def run_test(test, should_check_ots): return 0 def run_ttx (file): - print ("ttx %s" % file) - return cmd([ttx, "-q", "-o-", file]) + print ("fonttools ttx %s" % file) + return cmd([fonttools, "ttx", "-q", "-o-", file]) def strip_check_sum (ttx_string): return re.sub ('checkSumAdjustment value=["]0x([0-9a-fA-F])+["]', -- 2.7.4