mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-15 22:44:41 +00:00
dc5e2dd893
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> |
||
---|---|---|
.. | ||
dbus-glib | ||
nss-util | ||
packages | ||
dbus-glib-0.80-3.fc12.x86_64.rpm | ||
dbus-glib-0.104-3.fc23.x86_64.rpm | ||
dbus-glib-debuginfo-0.80-3.fc12.x86_64.rpm | ||
dbus-glib-debuginfo-0.104-3.fc23.x86_64.rpm | ||
test0-from-fc20-to-fc23-dbus-glib-report-0.txt | ||
test1-from-fc20-to-dbus-glib-0.106-1.fc23.x86_64-report-0.txt | ||
test2-dbus-glib-0.100.2-2.fc20--dbus-glib-0.106-1.fc23-report-0.txt | ||
test3-dbus-glib-0.100.2-2.fc20.i686--dbus-glib-0.106-1.fc23.i686-report-0.txt | ||
test4-glib-0.100.2-2.fc20.x86_64.rpm-glib-0.106-1.fc23.x86_64.rpm-report-0.txt | ||
test5-same-dir-dbus-glib-0.100.2-2.fc20.x86_64--dbus-glib-0.106-1.fc23.x86_64-report-0.txt | ||
test6-nss-util-3.12.6-1.fc14.x86_64--nss-util-3.24.0-2.0.fc25.x86_64-report-0.txt | ||
test7-self-compare-from-fc23-dbus-glib-report-0.txt | ||
vte291-0.39.1-1.fc22.x86_64--vte291-0.39.90-1.fc22.x86_64-report-0.txt |