libabigail/tests/data/test-fedabipkgdiff
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
..
dbus-glib Bug 20380 - Compare two local RPMs 2016-12-12 15:21:10 +01:00
nss-util Bug 20380 - Compare two local RPMs 2016-12-12 15:21:10 +01:00
packages fedabipkgdiff refuses to compare packages with the same release number 2017-02-15 16:06:32 +01:00
dbus-glib-0.80-3.fc12.x86_64.rpm Add test data for tests/runtestfedabipkgdiff.py 2016-05-25 12:29:28 +02:00
dbus-glib-0.104-3.fc23.x86_64.rpm Add test data for tests/runtestfedabipkgdiff.py 2016-05-25 12:29:28 +02:00
dbus-glib-debuginfo-0.80-3.fc12.x86_64.rpm Add test data for tests/runtestfedabipkgdiff.py 2016-05-25 12:29:28 +02:00
dbus-glib-debuginfo-0.104-3.fc23.x86_64.rpm Add test data for tests/runtestfedabipkgdiff.py 2016-05-25 12:29:28 +02:00
test0-from-fc20-to-fc23-dbus-glib-report-0.txt Tag add/remove/change lines unconditionally with [A], [D], [C]. 2020-03-18 14:45:26 +01:00
test1-from-fc20-to-dbus-glib-0.106-1.fc23.x86_64-report-0.txt Tag add/remove/change lines unconditionally with [A], [D], [C]. 2020-03-18 14:45:26 +01:00
test2-dbus-glib-0.100.2-2.fc20--dbus-glib-0.106-1.fc23-report-0.txt Tag add/remove/change lines unconditionally with [A], [D], [C]. 2020-03-18 14:45:26 +01:00
test3-dbus-glib-0.100.2-2.fc20.i686--dbus-glib-0.106-1.fc23.i686-report-0.txt Tag add/remove/change lines unconditionally with [A], [D], [C]. 2020-03-18 14:45:26 +01:00
test4-glib-0.100.2-2.fc20.x86_64.rpm-glib-0.106-1.fc23.x86_64.rpm-report-0.txt Tag add/remove/change lines unconditionally with [A], [D], [C]. 2020-03-18 14:45:26 +01:00
test5-same-dir-dbus-glib-0.100.2-2.fc20.x86_64--dbus-glib-0.106-1.fc23.x86_64-report-0.txt Tag add/remove/change lines unconditionally with [A], [D], [C]. 2020-03-18 14:45:26 +01:00
test6-nss-util-3.12.6-1.fc14.x86_64--nss-util-3.24.0-2.0.fc25.x86_64-report-0.txt Tag add/remove/change lines unconditionally with [A], [D], [C]. 2020-03-18 14:45:26 +01:00
test7-self-compare-from-fc23-dbus-glib-report-0.txt Add --self-compare option in fedabipkgdiff 2017-05-31 16:21:14 +05:30
vte291-0.39.1-1.fc22.x86_64--vte291-0.39.90-1.fc22.x86_64-report-0.txt Tag add/remove/change lines unconditionally with [A], [D], [C]. 2020-03-18 14:45:26 +01:00