libabigail/tests/data
Dodji Seketeli 153b37a164 suppr: Support has_data_member and has_data_member_regexp properties
In the [supress_type] directive, this patch adds support for two new
properties:

* has_data_data_member = {foo, bar, blah}
  Suppresses change reports involving a type which has data members
  with names specified by the value of this property.

* has_data_member_regexp = some-regexp
  Suppresses change reports involving a type which has data members
  with names specified by the regular expression given as a value of
  this property.

	* include/abg-fwd.h (string_set_type): Define new typedef.
	* src/abg-suppression-priv.h
	* include/abg-suppression.h
	(type_suppression::{get,set}_potential_data_member_names[_regex_str]):
	Declare new data member.
	(type_suppression::priv::{potential_data_members_,
	potential_data_members_regex_str_,
	potential_data_members_regex_}): Define new data members.
	(type_suppression::priv::{get,set}_potential_data_member_names_regex):
	Define new member functions.
	* src/abg-suppression.cc
	(type_suppression::{get,set}_potential_data_member_names): Define new
	member functions.
	(type_suppression::{get,set}_potential_data_member_names_regex_str):
	Likewise.
	(type_suppression::suppresses_diff): Implement suppression using
	the new "has_data_member" and "has_data_member_regexp" properties.
	(read_type_suppression): Support parsing the new "has_data_member"
	and "has_data_member_regexp" properties of the type suppression
	directive.
	* tests/data/test-diff-suppr/has-data-member-[1-7].suppr: New
	suppression specifications for test purposes.
	* tests/data/test-diff-suppr/test-has-data-member-output-{1,2}.txt:
	New reference test outputs.
	* tests/data/test-diff-suppr/test-has-data-member-v{0,1}.cc:
	Source code of new input binary tests.
	* tests/data/test-diff-suppr/test-has-data-member-v{0,1}.o: New
	binary test inputs.
	* tests/data/Makefile.am: Add the test inputs below to source
	distribution.
	* tests/test-diff-suppr.cc (in_out_specs): Add the new test inputs
	above to this test harness.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2023-03-01 13:46:41 +01:00
..
test-abicompat default-reporter: Fix source location in functions change report 2023-02-10 13:15:27 +01:00
test-abidiff rhbz2114909 - Refer to changed base classes using their non-qualified names 2022-10-20 17:17:09 +02:00
test-abidiff-exit PR30048 - wrong pretty representation of qualified pointers 2023-02-10 13:15:27 +01:00
test-alt-dwarf-file test-alt-dwarf: Add missing dwz alt-debug file 2022-06-23 15:57:23 +02:00
test-annotate dwarf-reader: Bug 29811 - Support updating of variable type 2023-01-01 18:21:56 +01:00
test-core-diff
test-default-supprs
test-diff-dwarf ir, writer: Go back to canonicalizing typedefs in the IR 2022-09-20 11:43:34 +02:00
test-diff-dwarf-abixml dwarf-reader: Fix class size setting bug 2022-10-14 16:49:31 +02:00
test-diff-filter default-reporter: Fix source location in functions change report 2023-02-10 13:15:27 +01:00
test-diff-pkg default-reporter: Fix source location in functions change report 2023-02-10 13:15:27 +01:00
test-diff-pkg-ctf ctf-reader: Set alignment-in-bits property to 0 2022-11-29 12:44:16 +01:00
test-diff-suppr suppr: Support has_data_member and has_data_member_regexp properties 2023-03-01 13:46:41 +01:00
test-fedabipkgdiff
test-ini
test-kmi-whitelist
test-lookup-syms
test-read-btf Add support for BTF 2023-01-06 21:05:53 +01:00
test-read-common
test-read-ctf Don't use the "infinite" keyword for arrays of unknown size 2023-01-01 18:21:56 +01:00
test-read-dwarf dwarf-reader: Bug 29811 - Support updating of variable type 2023-01-01 18:21:56 +01:00
test-read-write Don't use the "infinite" keyword for arrays of unknown size 2023-01-01 18:21:56 +01:00
test-symtab
test-types-stability
test-write-read-archive
Makefile.am suppr: Support has_data_member and has_data_member_regexp properties 2023-03-01 13:46:41 +01:00