From: Ben Harris Date: Mon, 23 Dec 2024 14:32:09 +0000 (+0000) Subject: compatcheck: actually exit with failure if a check fails X-Git-Tag: bedstead-3.251~59 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=9c1ad469f5c8b0f84b5f63e329d7918baebed1b3;p=bedstead.git compatcheck: actually exit with failure if a check fails --- 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())):