Use abidw --abidiff in test-read-dwarf.cc
authorDodji Seketeli <dodji@redhat.com>
Sat, 17 Oct 2015 13:06:57 +0000 (15:06 +0200)
committerDodji Seketeli <dodji@redhat.com>
Sat, 17 Oct 2015 14:09:50 +0000 (16:09 +0200)
commitf6556681d060ac6171b3cd4e7ce0fce4b4bfd9e8
tree67c5ddcca3862cee9f05bd1f04a94273ddc87d41
parent8cc382c8817d99a740d3f78360ebedd2f1e7b7fb
Use abidw --abidiff in test-read-dwarf.cc

That test was doing several sub-tests that amount to just calling
abidw --abidiff.  So, let's use that, now that we have it.

* tests/test-read-dwarf.cc (handle_in_out_spec): Rather than
calling abilint on the abixml and abidiff-ing the .so file against
its .so.abi, call abidw --abidiff on the .so file and voila.  Ok,
it does one extra save of abixml, but then that won't hurt.  And
things are faster now than what they were anyway :-)

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
tests/test-read-dwarf.cc