mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-19 16:30:04 +00:00
When abipkgdiff is invoked on a set of packages, the newer (second) one is also inspected for files matching the pattern '*.abignore', whose contents are read and interpreted as suppression specifications. * tests/data/Makefile.am: Add new test material to the build system. * tests/data/test-diff-pkg/dirpkg-{0-dir1,{1,2}-dir2}/dir.abignore: A test suppression specification. * tests/data/test-diff-pkg/dirpkg-{2,3}-dir2/.abignore: Likewise. * tests/data/test-diff-pkg/dirpkg-3.suppr: Likewise. * tests/data/test-diff-pkg/dirpkg-{1,2,3}-dir{1,2}/libobj-v0.so: New binary test inputs. * tests/data/test-diff-pkg/dirpkg-{1,2,3}-dir{1,2}/obj-v0.cc: New test source files * tests/data/test-diff-pkg/dirpkg-{1,2,3}-report-{0,1}.txt: New reference outputs * tests/test-diff-pkg.cc: Adjust to run the new tests. * tools/abipkgdiff.cc (prog_options): New static pointer to struct opts. (file_tree_walker_callback_fn): Rename to first_package_tree_walker_callback_fn. (second_package_tree_walker_callback_fn): Check for ELF files just like the previous function but additionally check for files ending with ".abignore", unless disabled from the command line. ({create_maps_of_package,extract_package_and_map_its}_content): Add a callback as a new argument. (main) handle the new "--no-abignore" option, which turns off the search for suppression files within the new package. Signed-off-by: Ondrej Oprala <ooprala@redhat.com> |
||
---|---|---|
.. | ||
dirpkg-0-dir1 | ||
dirpkg-0-dir2 | ||
dirpkg-1-dir1 | ||
dirpkg-1-dir2 | ||
dirpkg-2-dir1 | ||
dirpkg-2-dir2 | ||
dirpkg-3-dir1 | ||
dirpkg-3-dir2 | ||
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 | ||
dirpkg-0-report-0.txt | ||
dirpkg-1-report-0.txt | ||
dirpkg-1-report-1.txt | ||
dirpkg-2-report-0.txt | ||
dirpkg-2-report-1.txt | ||
dirpkg-3-report-0.txt | ||
dirpkg-3-report-1.txt | ||
dirpkg-3.suppr | ||
libsigc++-2.0-0c2a_2.4.0-1_amd64--libsigc++-2.0-0v5_2.4.1-1ubuntu2_amd64-report-0.txt | ||
libsigc++-2.0-0c2a_2.4.0-1_amd64.deb | ||
libsigc++-2.0-0c2a-dbgsym_2.4.0-1_amd64.ddeb | ||
libsigc++-2.0-0v5_2.4.1-1ubuntu2_amd64.deb | ||
libsigc++-2.0-0v5-dbgsym_2.4.1-1ubuntu2_amd64.ddeb | ||
tarpkg-0-dir1.ta | ||
tarpkg-0-dir1.tar | ||
tarpkg-0-dir1.tar.bz2 | ||
tarpkg-0-dir1.tar.gz | ||
tarpkg-0-dir2.ta | ||
tarpkg-0-dir2.tar | ||
tarpkg-0-dir2.tar.bz2 | ||
tarpkg-0-dir2.tar.gz | ||
tarpkg-0-report-0.txt | ||
test-rpm-report-0.txt | ||
test-rpm-report-1.txt | ||
test-rpm-report-2.txt | ||
test-rpm-report-3.txt | ||
test-rpm-report-4.txt | ||
test-rpm-report-5.txt |