libabigail/tests/data/test-abidiff
Giuliano Procida dc5e2dd893 Tag add/remove/change lines unconditionally with [A], [D], [C].
These tags were previously only emitted by the default reporter if the
there were more than 100 (hard-coded constant) items in a a list. The
leaf reporter emitted them unconditionally. This change simplifies the
code, makes output more consistent and makes it easier to interpret
diffs of diff output.

Additionally, in the reporting of changed unreachable types, the
indentation and quoting for the deleted and added cases was missing.
This patch corrects these issues.

Finally, when doing package differences, there were no tags for
deleted/added binaries. This patch adds them.

	* src/abg-default-reporter.cc (report): In the corpus_diff
	override, remove calculations of number of changes (total) and
	comparisons against arbitrary threshold (large_num); emit [A],
	[D], [C] tags unconditionally.
	* src/abg-reporter-priv.cc
	(maybe_report_unreachable_type_changes): Remove comparisons of
	number of changes against arbitrary threshold (large_num);
	emit [A], [D], [C] tags unconditionally; fix quoting of
        deleted unreachable types; fix indentation of changed
	unreachable types.
	* tools/abipkgdiff.cc (compare_prepared_userspace_packages):
	Emit [D] and [A] tags for removed and added binaries.
	* tests/data/test-*/*report*.txt: In 109 report files, add
        tags [A], [D], [C] tags and correct some indentation and
        quoting.

Signed-off-by: Giuliano Procida <gprocida@google.com>
2020-03-18 14:45:26 +01:00
..
test-empty-corpus-0.xml abg-reader: handle empty corpus nodes in xml representation 2020-01-20 12:20:09 +00:00
test-empty-corpus-1.xml abg-reader: handle empty corpus nodes in xml representation 2020-01-20 12:20:09 +00:00
test-empty-corpus-2.xml abg-reader: handle empty corpus nodes in xml representation 2020-01-20 12:20:09 +00:00
test-empty-corpus-report.txt abg-reader: handle empty corpus nodes in xml representation 2020-01-20 12:20:09 +00:00
test-enum0-report.txt Eliminate some unnecessary blank lines in diff output. 2020-03-16 16:15:09 +01:00
test-enum0-v0.cc.bi Rename bi* tools to abi* tools 2014-09-26 10:58:16 +02:00
test-enum0-v1.cc.bi Rename bi* tools to abi* tools 2014-09-26 10:58:16 +02:00
test-enum1-report.txt Eliminate some unnecessary blank lines in diff output. 2020-03-16 16:15:09 +01:00
test-enum1-v0.cc.bi Rename bi* tools to abi* tools 2014-09-26 10:58:16 +02:00
test-enum1-v1.cc.bi Rename bi* tools to abi* tools 2014-09-26 10:58:16 +02:00
test-PR18166-libtirpc.so Fix "is-anonymous" abixml property impact on some tests 2015-10-15 13:50:48 +02:00
test-PR18166-libtirpc.so.abi Better support array with unknown upper bound 2018-10-16 18:00:22 +02:00
test-PR18166-libtirpc.so.report.txt Fix "is-anonymous" abixml property impact on some tests 2015-10-15 13:50:48 +02:00
test-PR18791-report0.txt Tag add/remove/change lines unconditionally with [A], [D], [C]. 2020-03-18 14:45:26 +01:00
test-PR18791-v0.so.abi Bug 20199 - Consider integral type synonyms as being equal 2016-07-13 23:37:43 +02:00
test-PR18791-v1.so.abi Bug 20199 - Consider integral type synonyms as being equal 2016-07-13 23:37:43 +02:00
test-PR24552-report0.txt Bug 24552 - abidiff fails comparing a corpus against a corpus group 2019-05-16 18:10:08 +02:00
test-PR24552-v0.abi Bug 24552 - abidiff fails comparing a corpus against a corpus group 2019-05-16 18:10:08 +02:00
test-PR24552-v1.abi Bug 24552 - abidiff fails comparing a corpus against a corpus group 2019-05-16 18:10:08 +02:00
test-qual-type0-report.txt Represent sizes and offsets in bytes and hexadecimal values 2018-04-30 17:11:40 +02:00
test-qual-type0-v0.cc.bi Rename bi* tools to abi* tools 2014-09-26 10:58:16 +02:00
test-qual-type0-v1.cc.bi Rename bi* tools to abi* tools 2014-09-26 10:58:16 +02:00
test-struct0-report.txt Output 2-space indentation consistently. 2020-03-16 22:39:35 +01:00
test-struct0-v0.cc.bi Rename bi* tools to abi* tools 2014-09-26 10:58:16 +02:00
test-struct0-v1.cc.bi Rename bi* tools to abi* tools 2014-09-26 10:58:16 +02:00
test-struct1-report.txt Output 2-space indentation consistently. 2020-03-16 22:39:35 +01:00
test-struct1-v0.cc.bi Rename bi* tools to abi* tools 2014-09-26 10:58:16 +02:00
test-struct1-v1.cc.bi Rename bi* tools to abi* tools 2014-09-26 10:58:16 +02:00
test-var0-report.txt Output 2-space indentation consistently. 2020-03-16 22:39:35 +01:00
test-var0-v0.cc.bi Rename bi* tools to abi* tools 2014-09-26 10:58:16 +02:00
test-var0-v1.cc.bi Rename bi* tools to abi* tools 2014-09-26 10:58:16 +02:00