[util] swift-abi-symbol-checker: Don’t exit early for missing additions

This commit is contained in:
Karoy Lorentey
2024-03-14 20:49:32 -07:00
parent b54c2b4d32
commit 70a2a02380

5
utils/swift-abi-symbol-checker.py Normal file → Executable file
View File

@@ -52,10 +52,7 @@ def checkSymbols(args):
# actually appear in the dylib then print those symbols out and fail.
if notInDylib:
for symbol in notInDylib:
print(('{} was marked as \'Added\', but it was not found in the '
'just built library').format(symbol))
sys.exit(-1)
symbols.append('<MISSING ADDITION> {}'.format(symbol))
# Filter the built symbols for the additions because we're removing them to
# get back to the baseline