]> sourceware.org Git - libabigail.git/commit
Add --no-added-syms to abipkgdiff
authorDodji Seketeli <dodji@redhat.com>
Thu, 6 Aug 2015 11:56:48 +0000 (13:56 +0200)
committerDodji Seketeli <dodji@redhat.com>
Thu, 6 Aug 2015 13:22:38 +0000 (15:22 +0200)
commit9f7c07460d1e12949ddd4fdd0cc7e1e46702d790
tree1c7595418069fb74bc680cb9c6c7f1b1f7a401a9
parent465b25e0d878cbd12f31305efb399caa37a5f001
Add --no-added-syms to abipkgdiff

With this new option the tool ignores added functions, variables and
their symbols.

* tools/abipkgdiff.cc (options::show_added_syms): New data member.
(options::options): Initialize it.
(parse_command_line): Parse the new --no-added-syms option and set
the options::show_added_syms flag accordingly.
(display_usage): Add a help string for the new option.
(set_diff_context_from_opts): Set the diff context according to
the state of the new options::show_added_syms flag.
* doc/manuals/abipkgdiff.rst: Add manual entry for the new
--no-added-syms options.
* tests/data/test-diff-pkg/test-rpm-report-5.txt: New test
reference input file.
* tests/data/Makefile.am: Add the new file above to source
distribution.
* tests/test-diff-pkg.cc (InOutSpec::prog_options): New data
member.
(in_out_specs): Adjust.  Add a new input to run the test again
with --no-added-syms.
(main): Adjust to pass the program options contained in
InOutSpec::prog_options to abipkgdiff.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
fixup! Add --no-added-syms to abipkgdiff

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
doc/manuals/abipkgdiff.rst
tests/data/Makefile.am
tests/data/test-diff-pkg/test-rpm-report-5.txt [new file with mode: 0644]
tests/test-diff-pkg.cc
tools/abipkgdiff.cc
This page took 0.033316 seconds and 5 git commands to generate.