diff --git a/debian/changelog b/debian/changelog index 3a99d7c90c3100944ff9b1e7b8ace89f05166d23..0b74133369931413915dcc0cb187af2aa404f2fe 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +apertis-dev-tools (0.2022.3) apertis; urgency=medium + + * apertis-abi-compare: + - print a message in case of the ABI check fails due to errors + - correct 'apt update' command + + -- Tino Lippold <Tino.Lippold@de.bosch.com> Mon, 19 Sep 2022 07:19:12 +0000 + apertis-dev-tools (0.2022.2) apertis; urgency=medium * apertis-abi-compare: diff --git a/tools/apertis-abi-compare b/tools/apertis-abi-compare index fb0bf2501d6d47087fbea6d7ebe6e339b9f31021..a332694b3ce8ed9d00f3983d823ea958b1ae77a1 100755 --- a/tools/apertis-abi-compare +++ b/tools/apertis-abi-compare @@ -123,6 +123,8 @@ def run_abi_checker(lib, xml_old, ver_old, xml_new, ver_new): print('INFO: no ABI breakage detected!') elif acc_process.returncode == 1: print('WARNING: ABI breakage detected!') + else: + print('ERROR: ABI check failed!') return acc_process.returncode @@ -196,7 +198,7 @@ def main(): print("INFO: abi-compliance-checker requires having Build-Deps installed") print("INFO: Trying to install them now:") print(my_builddeps) - subprocess.run(['sudo', '/usr/bin/apt', 'update'] + my_builddeps) + subprocess.run(['sudo', '/usr/bin/apt', 'update']) subprocess.run(['sudo', '/usr/bin/apt', 'install', '-y'] + my_builddeps) # Download debs of old version