From 27bb37c5d0d9410029b3ca7ea3260142e299985b Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 17 Mar 2025 17:54:06 -0600 Subject: [PATCH] [test/shape] Fix reporting --- test/shape/run-tests.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/shape/run-tests.py b/test/shape/run-tests.py index 0fbbf72b2..166402bba 100755 --- a/test/shape/run-tests.py +++ b/test/shape/run-tests.py @@ -244,12 +244,12 @@ for filename in args: if not no_glyph_names_process: no_glyph_names_process = open_shape_batch_process() - cmd = [fontfile] + ["--glyphs", "--no-glyph-names", glyphs] - glyphs = shape_cmd(cmd, no_glyph_names_process, verbose=False).strip() + cmd2 = [fontfile] + ["--glyphs", "--no-glyph-names", glyphs] + glyphs = shape_cmd(cmd2, no_glyph_names_process, verbose=False).strip() - cmd = [fontfile] + ["--glyphs", "--no-glyph-names", glyphs_expected] + cmd2 = [fontfile] + ["--glyphs", "--no-glyph-names", glyphs_expected] glyphs_expected = shape_cmd( - cmd, no_glyph_names_process, verbose=False + cmd2, no_glyph_names_process, verbose=False ).strip() if glyphs != glyphs_expected: