]> sourceware.org Git - libabigail.git/commit
test-read-dwarf: Use abidw rather than using the library
authorDodji Seketeli <dodji@redhat.com>
Thu, 31 Mar 2022 13:24:12 +0000 (15:24 +0200)
committerDodji Seketeli <dodji@redhat.com>
Mon, 20 Jun 2022 15:17:05 +0000 (17:17 +0200)
commitb822f213e4c7ac35af26ceefbbe06fd1158bf95c
tree7e6a8c124299682477ff169eedb6cc374b02d6e9
parented3eabbb6bcb943303abc96a81fad0e9425ff515
test-read-dwarf: Use abidw rather than using the library

When this test fails, sometimes it's difficult to reproduce the
problem using abidw.  That's because this test is using the library
directly, so the exact setup is not always straightforward to
reproduce and eventually debug.

This test changes tests/test-read-dwarf.cc to make it use abidw rather
than using the library directly.

* tests/test-read-dwarf.cc (set_suppressions)
(set_suppressions_from_headers): Remove these static functions.
(test_task_dwarf::perform): Use abidw rather than using the
library.  Remove the path and architecture from the abixml files.
Also, when the test fails, display the actual command that failed.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
53 files changed:
tests/data/test-read-dwarf/PR22015-libboost_iostreams.so.abi
tests/data/test-read-dwarf/PR22122-libftdc.so.abi
tests/data/test-read-dwarf/PR24378-fn-is-not-scope.abi
tests/data/test-read-dwarf/PR25007-sdhci.ko.abi
tests/data/test-read-dwarf/PR25042-libgdbm-clang-dwarf5.so.6.0.0.abi
tests/data/test-read-dwarf/PR26261/PR26261-exe.abi
tests/data/test-read-dwarf/PR27700/test-PR27700.abi
tests/data/test-read-dwarf/PR28584/PR28584-smv.clang.o.abi
tests/data/test-read-dwarf/libtest23.so.abi
tests/data/test-read-dwarf/libtest24-drop-fns-2.so.abi
tests/data/test-read-dwarf/libtest24-drop-fns.so.abi
tests/data/test-read-dwarf/test-PR26568-1.o.abi
tests/data/test-read-dwarf/test-PR26568-2.o.abi
tests/data/test-read-dwarf/test-libaaudio.so.abi
tests/data/test-read-dwarf/test-libandroid.so.abi
tests/data/test-read-dwarf/test-suppressed-alias.o.abi
tests/data/test-read-dwarf/test0.abi
tests/data/test-read-dwarf/test0.hash.abi
tests/data/test-read-dwarf/test1.abi
tests/data/test-read-dwarf/test1.hash.abi
tests/data/test-read-dwarf/test10-pr18818-gcc.so.abi
tests/data/test-read-dwarf/test11-pr18828.so.abi
tests/data/test-read-dwarf/test12-pr18844.so.abi
tests/data/test-read-dwarf/test13-pr18894.so.abi
tests/data/test-read-dwarf/test14-pr18893.so.abi
tests/data/test-read-dwarf/test15-pr18892.so.abi
tests/data/test-read-dwarf/test16-pr18904.so.abi
tests/data/test-read-dwarf/test17-pr19027.so.abi
tests/data/test-read-dwarf/test18-pr19037-libvtkRenderingLIC-6.1.so.abi
tests/data/test-read-dwarf/test19-pr19023-libtcmalloc_and_profiler.so.abi
tests/data/test-read-dwarf/test2.so.abi
tests/data/test-read-dwarf/test2.so.hash.abi
tests/data/test-read-dwarf/test20-pr19025-libvtkParallelCore-6.1.so.abi
tests/data/test-read-dwarf/test21-pr19092.so.abi
tests/data/test-read-dwarf/test22-pr19097-libstdc++.so.6.0.17.so.abi
tests/data/test-read-dwarf/test3-alias-1.so.hash.abi
tests/data/test-read-dwarf/test3-alias-2.so.hash.abi
tests/data/test-read-dwarf/test3-alias-3.so.hash.abi
tests/data/test-read-dwarf/test3-alias-4.so.hash.abi
tests/data/test-read-dwarf/test3.so.abi
tests/data/test-read-dwarf/test3.so.hash.abi
tests/data/test-read-dwarf/test4.so.abi
tests/data/test-read-dwarf/test4.so.hash.abi
tests/data/test-read-dwarf/test5.o.abi
tests/data/test-read-dwarf/test5.o.hash.abi
tests/data/test-read-dwarf/test6.so.abi
tests/data/test-read-dwarf/test6.so.hash.abi
tests/data/test-read-dwarf/test7.so.abi
tests/data/test-read-dwarf/test7.so.hash.abi
tests/data/test-read-dwarf/test8-qualified-this-pointer.so.abi
tests/data/test-read-dwarf/test8-qualified-this-pointer.so.hash.abi
tests/data/test-read-dwarf/test9-pr18818-clang.so.abi
tests/test-read-dwarf.cc
This page took 0.04429 seconds and 5 git commands to generate.