mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[util] swift-abi-symbol-checker: Don’t exit early for missing additions
This commit is contained in:
5
utils/swift-abi-symbol-checker.py
Normal file → Executable file
5
utils/swift-abi-symbol-checker.py
Normal file → Executable file
@@ -52,10 +52,7 @@ def checkSymbols(args):
|
|||||||
# actually appear in the dylib then print those symbols out and fail.
|
# actually appear in the dylib then print those symbols out and fail.
|
||||||
if notInDylib:
|
if notInDylib:
|
||||||
for symbol in notInDylib:
|
for symbol in notInDylib:
|
||||||
print(('{} was marked as \'Added\', but it was not found in the '
|
symbols.append('<MISSING ADDITION> {}'.format(symbol))
|
||||||
'just built library').format(symbol))
|
|
||||||
|
|
||||||
sys.exit(-1)
|
|
||||||
|
|
||||||
# Filter the built symbols for the additions because we're removing them to
|
# Filter the built symbols for the additions because we're removing them to
|
||||||
# get back to the baseline
|
# get back to the baseline
|
||||||
|
|||||||
Reference in New Issue
Block a user