libabigail/doc/manuals
Dodji Seketeli fc55e7f343 Make abidiff and abicompat return meaningful exit codes
As per https://sourceware.org/bugzilla/show_bug.cgi?id=18146, abidiff
the exit code of abidiff and abicompat is now a bit field that can be
inspected to know if the ABI change reported is incompatible for sure,
or if it needs user review of the output to decide.

This patch also updates the documentation.

	* doc/manuals/abicompat.rst: Update documentation for abicompat
	exit codes.
	* doc/manuals/abidiff.rst: Likewise for abidiff exit codes.
	* include/abg-tools-utils.h (enum abidiff_status): Declare new
	enum.
	(operator{|,&,|=}): Declare new operators for the new enum
	abidiff_status.
	(abidiff_status_has_error, abidiff_status_has_abi_change)
	(abidiff_status_has_incompatible_abi_change): Declare new
	functions.
	* src/abg-tools-utils.cc (operator{|,&,|=}): Define these new
	operators.
	(abidiff_status_has_error, abidiff_status_has_abi_change)
	(abidiff_status_has_incompatible_abi_change): Define new
	functions.
	* tests/test-diff-filter.cc (main): Adjust for the new exit code
	of abidiff.
	* tests/test-diff-suppr.cc (main): Likewise.
	* tests/test-abicompat.cc (main): Likewise.
	* tools/abicompat.cc (enum abicompat_status): Remove.
	(operator{|,&,|=}): Remove these operators for enum
	abicompat_status.
	(perform_compat_check_in_normal_mode)
	(perform_compat_check_in_weak_mode): Return abidiff_status instead
	of abicompat_status.  Adjust therefore.
	(main): Adjust to return abidiff_status now, instead of a just
	zero for all non-error cases.
	* tools/abidiff.cc (main): Likewise.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2015-04-10 16:26:36 +02:00
..
abicompat.rst Make abidiff and abicompat return meaningful exit codes 2015-04-10 16:26:36 +02:00
abidiff.rst Make abidiff and abicompat return meaningful exit codes 2015-04-10 16:26:36 +02:00
abidw.rst Add support for abicompat weak mode 2015-04-03 22:45:41 +02:00
abilint.rst Initial documentation for libabigail 2014-09-26 17:06:12 +02:00
conf.py Small grammar fix in a manpage title 2015-01-13 18:33:38 +01:00
index.rst Update the manual for the suppression specification initial work 2014-10-15 22:32:56 +02:00
libabigail-concepts.rst Update the manual for variable suppression concepts 2014-11-01 13:04:15 +01:00
libabigail-overview.rst Initial documentation for libabigail 2014-09-26 17:06:12 +02:00
libabigail-tools.rst Generate texinfo documentation properly 2015-01-13 18:33:23 +01:00
Makefile.am Do not install the generated documentation by default 2015-01-14 18:46:06 +01:00