chiark / gitweb /
compatcheck: actually exit with failure if a check fails
authorBen Harris <bjh21@bjh21.me.uk>
Mon, 23 Dec 2024 14:32:09 +0000 (14:32 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sun, 29 Dec 2024 18:50:52 +0000 (18:50 +0000)
compatcheck

index fc86ac1fb04262bd11d594aa1a57941718202a97..9f1bb618d40059f1e88626a2f943421f5444b947 100755 (executable)
@@ -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())):