libabigail/tests
Dodji Seketeli f3ed9dfa92 Support file_name_regexp and soname_regexp in supp-specs
With this patch it's now possible to express the soname or name of the binary
file that contains the ABI artifacts the suppression specifications
should apply to.

	* include/abg-comparison.h (suppression_base::priv_): Make this
	pimpl member protected.
	(suppression_base::set_file_name_regex_str)
	(get_file_name_regex_str, get_soname_regex_str)
	(set_soname_regex_str): Declare new accessors.
	(function_suppression::{suppresses_function,
	suppresses_function_symbol}): Take a diff_context_sptr.
	(variable_suppression::{suppresses_variable,
	suppresses_variable_symbol}): Take a diff_context_sptr.
	* src/abg-comparison.cc
	(suppression_base::priv::{file_name_regex_str_, file_name_regex_,
	soname_regex_str_, soname_regex_}): Define new data members.
	(suppression_base::priv::get_file_name_regex_str)
	(get_soname_regex_str): Define new member functions.
	(suppression_base::set_file_name_regex_str)
	(get_file_name_regex_str, get_soname_regex_str)
	(set_soname_regex_str): Define new accessors.
	(type_suppression::suppresses_diff): Evaluate file_name_regexp and
	soname_regexp.
	(read_type_suppression): Fix the reading of the "label" property.
	Read the file_name_regexp and soname_regexp properties.
	(function_suppression::{suppresses_function,
	suppresses_function_symbol): Take a diff_context_sptr parameter.
	Evaluate file_name_regexp and soname_regexp properties.
	(function_suppression::suppresses_diff): Adjust for the api change
	of function_suppression::suppresses_function().
	(read_function_suppression): Read the file_name_regexp and
	soname_regexp properties.
	(variable_suppression::suppresses_variable): Take a
	diff_context_sptr parameter and evaluate file_name_regexp and
	soname_regexp properties.
	(variable_suppression::suppresses_variable_symbol): Likewise.
	(variable_suppression::suppresses_diff): Adjust for the api change
	of variable_suppression::suppresses_variable().
	(read_variable_suppression): Read the file_name_regexp and
	soname_regexp properties.
	(function_is_suppressed, variable_is_suppressed): Take a
	diff_context_sptr parameter.
	(corpus_diff::priv::apply_suppressions_to_added_removed_fns_vars):
	Adjust.
	* doc/manuals/libabigail-concepts.rst: Document file_name_regexp
	and soname_regexp in the manual.
	* tests/data/test-diff-suppr/libtest24-soname-v{0,1}.so: New test
	binary input files.
	* tests/data/test-diff-suppr/test24-soname-report-{0,4}.txt: New
	test input files.
	* tests/data/test-diff-suppr/test24-soname-suppr-{0,4}.txt:
	Likewise.
	* tests/data/test-diff-suppr/test24-soname-v{0,1}.cc: Source code
	of the binary test input files above.
	* tests/data/Makefile.am: Add the new test material above to
	source distribution.
	* tests/test-diff-suppr.cc (in_out_spec): Add the new test inputs
	to the set of tests this harness has to run over.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2015-07-19 19:48:51 +02:00
..
data Support file_name_regexp and soname_regexp in supp-specs 2015-07-19 19:48:51 +02:00
Makefile.am Add regression tests for abipkgdiff tool 2015-07-17 10:10:21 +02:00
print-diff-tree.cc Handle the life time of the map of canonical types 2015-07-09 11:12:40 +02:00
runtestcanonicalizetypes.sh.in
test-abicompat.cc Make abidiff and abicompat return meaningful exit codes 2015-04-10 16:26:36 +02:00
test-abidiff.cc 18166 - Abidiff fails with internal on Libtirpc ABI in XML format 2015-03-30 09:50:44 +02:00
test-alt-dwarf-file.cc
test-core-diff.cc
test-diff2.cc
test-diff-dwarf.cc Handle the life time of the map of canonical types 2015-07-09 11:12:40 +02:00
test-diff-filter.cc Fix redundancy marking for change of types used directly 2015-06-03 12:13:54 +02:00
test-diff-pkg.cc Add regression tests for abipkgdiff tool 2015-07-17 10:10:21 +02:00
test-diff-suppr.cc Support file_name_regexp and soname_regexp in supp-specs 2015-07-19 19:48:51 +02:00
test-dot.cc
test-ir-walker.cc Handle the life time of the map of canonical types 2015-07-09 11:12:40 +02:00
test-lookup-syms.cc
test-read-dwarf.cc Handle the life time of the map of canonical types 2015-07-09 11:12:40 +02:00
test-read-write.cc Handle the life time of the map of canonical types 2015-07-09 11:12:40 +02:00
test-svg.cc
test-utils.cc
test-utils.h
test-write-read-archive.cc Fix archive writing support 2015-04-24 19:59:19 +02:00