Don't require ABI tools if not checking the ABI

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2022-03-03 10:22:36 +01:00
parent 790f7428d2
commit 93c2a42166

View file

@ -480,6 +480,7 @@ class AbiChecker:
"""Generate a report of ABI differences
between self.old_rev and self.new_rev."""
self.check_repo_path()
if self.check_api or self.check_abi:
self.check_abi_tools_are_installed()
self._get_abi_dump_for_ref(self.old_version)
self._get_abi_dump_for_ref(self.new_version)