From 9c1ad469f5c8b0f84b5f63e329d7918baebed1b3 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Mon, 23 Dec 2024 14:32:09 +0000 Subject: [PATCH] compatcheck: actually exit with failure if a check fails --- compatcheck | 1 + 1 file changed, 1 insertion(+) diff --git a/compatcheck b/compatcheck index fc86ac1..9f1bb61 100755 --- a/compatcheck +++ b/compatcheck @@ -36,6 +36,7 @@ ttnew = ttLib.TTFont(cfg.new) failed = False def fail(msg): + failed = True print(f"FAIL: {msg}") if not (set(ttold.getGlyphOrder()) <= set(ttnew.getGlyphOrder())): -- 2.30.2