libabigail/tests/data/test-abicompat
Ondrej Oprala 6a7566d513 Add the option of printing the file, line and column information about a type being reported.
* bash-completion/abicompat: Complete the new "--no-show-locs" option.
	* bash-completion/abidiff: Likewise.
	* bash-completion/abidw: Likewise.
	* bash-completion/abipkgdiff: Likewise.
	* doc/manuals/abicompat.rst: Mention the new "--no-show-locs" option.
	* doc/manuals/abidiff.rst: Likewise.
	* doc/manuals/abidw.rst: Likewise.
	* doc/manuals/abipkgdiff.rst: Likewise.
	* include/abg-comparison.h (show_locs): Add declarations.
	* src/abg-comparison.cc: (diff_context::priv): Add a new switch
	called "show_locs_" and set its default value to false.
	(report_loc_info): New function. Outputting the extra information
	is conditionalized based on the associated diff contexts settings.
	(show_locs): define a getter/setter for
	diff_context::priv::show_locs_.
	({distinct,pointer,reference,qualified_type,enum,class,scope,fn_parm,
	typedef,corpus}_diff::report): Call report_loc_info when
	appropriate.
	(maybe_report_diff_for_member): Likewise.
	(represent): Accept a const reference to a diff_context_sptr as a first
	argument and call report_loc_info on its second argument.
	* src/abg-dwarf-reader.cc:
	* tests/data/Makefile.am: Add the new test reference files.
	* tests/data/test-abicompat/test0-fn-changed-report-2.txt: New test
	reference output.
	* tests/data/test-abicompat/test5-fn-changed-report-1.txt: Likewise.
	* tests/data/test-abicompat/test6-var-changed-report-1.txt: Likewise.
	* tests/data/test-abicompat/test7-fn-changed-report-2.txt: Likewise.
	* tests/data/test-diff-filter/test30-pr18904-rvalueref-report1.txt:
	Likewise.
	* tests/data/test-diff-filter/test31-pr18535-libstdc++-report-1.txt:
	Likewise.
	* tests/data/test-diff-pkg/dirpkg-3-report-2.txt: Likewise.
	* tests/data/test-diff-suppr/test6-fn-suppr-report-0-1.txt: Likewise.
	* tests/test-abidiff.cc: Explicitly create a diff context and turn off
	location emitting.
	* tests/test-diff-dwarf.cc: Likewise.
	* tests/test-abicompat.cc: Add --no-show-locs to all existing test
	arguments. Run a few of the existing tests again, but without this
	option.
	* tests/test-diff-filter.cc: Likewise.
	* tests/test-diff-pkg.cc: Likewise.
	* tests/test-diff-suppr.cc: Likewise.
	* tools/abicompat.cc: Handle the new "--no-show-locs" option.
	* tools/abidiff.cc: Likewise.
	* tools/abidw.cc: Likewise.
	* tools/abipkgdiff.cc: Likewise.

Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
2015-12-15 12:32:55 +01:00
..
libtest0-fn-changed-libapp-v0.so Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
libtest0-fn-changed-libapp-v1.so Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
libtest1-fn-removed-v0.so Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
libtest1-fn-removed-v1.so Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
libtest2-var-removed-v0.so Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
libtest2-var-removed-v1.so Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
libtest3-fn-removed-v0.so Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
libtest3-fn-removed-v1.so Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
libtest4-soname-changed-v0.so Wire the soname check into abicompat 2014-12-08 13:47:00 +01:00
libtest4-soname-changed-v1.so Wire the soname check into abicompat 2014-12-08 13:47:00 +01:00
libtest5-fn-changed-libapp-v0.so Add support for abicompat weak mode 2015-04-03 22:45:41 +02:00
libtest5-fn-changed-libapp-v1.so Add support for abicompat weak mode 2015-04-03 22:45:41 +02:00
libtest6-var-changed-libapp-v0.so Add support for abicompat weak mode 2015-04-03 22:45:41 +02:00
libtest6-var-changed-libapp-v1.so Add support for abicompat weak mode 2015-04-03 22:45:41 +02:00
libtest7-fn-changed-libapp-v0.so Fix computing the set of exported functions and varible symbols 2015-07-20 12:46:21 +02:00
libtest7-fn-changed-libapp-v1.so Fix computing the set of exported functions and varible symbols 2015-07-20 12:46:21 +02:00
test0-fn-changed-0.suppr Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
test0-fn-changed-app Add support for abicompat weak mode 2015-04-03 22:45:41 +02:00
test0-fn-changed-app.cc Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
test0-fn-changed-libapp-v0.cc Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
test0-fn-changed-libapp-v1.cc Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
test0-fn-changed-libapp.h Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
test0-fn-changed-report-0.txt Misc reporting fixes/improvements 2015-04-14 06:16:00 +02:00
test0-fn-changed-report-1.txt Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
test0-fn-changed-report-2.txt Add the option of printing the file, line and column information about a type being reported. 2015-12-15 12:32:55 +01:00
test1-fn-removed-app Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
test1-fn-removed-app.cc Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
test1-fn-removed-report-0.txt Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
test1-fn-removed-v0.cc Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
test1-fn-removed-v1.cc Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
test2-var-removed-app Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
test2-var-removed-app.cc Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
test2-var-removed-report-0.txt Make the name of the removed variable section be consistent 2015-07-24 14:06:29 +02:00
test2-var-removed-v0.cc Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
test2-var-removed-v1.cc Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
test3-fn-removed-app Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
test3-fn-removed-app.cc Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
test3-fn-removed-report-0.txt Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
test3-fn-removed-v0.cc Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
test3-fn-removed-v1.cc Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
test3-fn-removed-version-script-0 Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
test3-fn-removed-version-script-1 Initial implementation of the abicompat tool 2014-12-05 15:43:31 +01:00
test4-soname-changed-app Wire the soname check into abicompat 2014-12-08 13:47:00 +01:00
test4-soname-changed-app.cc Wire the soname check into abicompat 2014-12-08 13:47:00 +01:00
test4-soname-changed-report-0.txt Wire the soname check into abicompat 2014-12-08 13:47:00 +01:00
test4-soname-changed-v0.cc Wire the soname check into abicompat 2014-12-08 13:47:00 +01:00
test4-soname-changed-v1.cc Wire the soname check into abicompat 2014-12-08 13:47:00 +01:00
test5-fn-changed-app Add support for abicompat weak mode 2015-04-03 22:45:41 +02:00
test5-fn-changed-app.cc Add support for abicompat weak mode 2015-04-03 22:45:41 +02:00
test5-fn-changed-libapp-v0.cc Add support for abicompat weak mode 2015-04-03 22:45:41 +02:00
test5-fn-changed-libapp-v0.h Add support for abicompat weak mode 2015-04-03 22:45:41 +02:00
test5-fn-changed-libapp-v1.cc Add support for abicompat weak mode 2015-04-03 22:45:41 +02:00
test5-fn-changed-libapp-v1.h Add support for abicompat weak mode 2015-04-03 22:45:41 +02:00
test5-fn-changed-report-0.txt Clean up the output of abicompat weak mode 2015-07-20 16:01:27 +02:00
test5-fn-changed-report-1.txt Add the option of printing the file, line and column information about a type being reported. 2015-12-15 12:32:55 +01:00
test6-var-changed-app Add support for abicompat weak mode 2015-04-03 22:45:41 +02:00
test6-var-changed-app.cc Add support for abicompat weak mode 2015-04-03 22:45:41 +02:00
test6-var-changed-libapp-v0.cc Add support for abicompat weak mode 2015-04-03 22:45:41 +02:00
test6-var-changed-libapp-v0.h Add support for abicompat weak mode 2015-04-03 22:45:41 +02:00
test6-var-changed-libapp-v1.cc Add support for abicompat weak mode 2015-04-03 22:45:41 +02:00
test6-var-changed-libapp-v1.h Add support for abicompat weak mode 2015-04-03 22:45:41 +02:00
test6-var-changed-report-0.txt Clean up the output of abicompat weak mode 2015-07-20 16:01:27 +02:00
test6-var-changed-report-1.txt Add the option of printing the file, line and column information about a type being reported. 2015-12-15 12:32:55 +01:00
test7-fn-changed-app Fix computing the set of exported functions and varible symbols 2015-07-20 12:46:21 +02:00
test7-fn-changed-app.c Fix computing the set of exported functions and varible symbols 2015-07-20 12:46:21 +02:00
test7-fn-changed-libapp-v0.c Fix computing the set of exported functions and varible symbols 2015-07-20 12:46:21 +02:00
test7-fn-changed-libapp-v0.h Fix computing the set of exported functions and varible symbols 2015-07-20 12:46:21 +02:00
test7-fn-changed-libapp-v1.c Fix computing the set of exported functions and varible symbols 2015-07-20 12:46:21 +02:00
test7-fn-changed-libapp-v1.h Fix computing the set of exported functions and varible symbols 2015-07-20 12:46:21 +02:00
test7-fn-changed-report-0.txt Fix computing the set of exported functions and varible symbols 2015-07-20 12:46:21 +02:00
test7-fn-changed-report-1.txt Fix type synthesis to fix abicompat weak mode 2015-07-20 17:11:32 +02:00
test7-fn-changed-report-2.txt Add the option of printing the file, line and column information about a type being reported. 2015-12-15 12:32:55 +01:00