provided, the tool compares the ABI of all ELF binaries found in
the packages.
+ * ``--suppressions`` <*path-to-suppresions*>
+
+ Use a :ref:`suppression specification <suppr_spec_label>` file
+ located at *path-to-suppressions*.
+
+
* ``--no-default-suppression``
Do not load the :ref:`default suppression specification files
"""
abipkgdiff_tool = build_path_to_abipkgdiff()
+ suppressions = ''
+
+ if global_config.suppr:
+ suppressions = '--suppressions {0}'.format(global_config.suppr)
+
if global_config.no_devel_pkg:
devel_pkg1 = ''
devel_pkg2 = ''
cmd = [
abipkgdiff_tool,
+ suppressions,
'--show-identical-binaries' if global_config.show_identical_binaries else '',
'--no-default-suppression' if global_config.no_default_suppr else '',
'--dso-only' if global_config.dso_only else '',
default='',
help="The path to the 'abipkgtool' command to use. "
"By default use the one found in $PATH.")
+ parser.add_argument(
+ '--suppressions',
+ required=False,
+ metavar='SUPPR',
+ dest='suppr',
+ default='',
+ help='The suppression specification file to use during comparison')
parser.add_argument(
'--no-default-suppression',
required=False,