]> sourceware.org Git - libabigail.git/commit
Make test-read-dwarf.cc and test-read-write.cc abidiff the ABIs
authorDodji Seketeli <dodji@redhat.com>
Sat, 29 Aug 2015 11:10:25 +0000 (13:10 +0200)
committerDodji Seketeli <dodji@redhat.com>
Sat, 29 Aug 2015 14:23:16 +0000 (16:23 +0200)
commit9449d60d9f4dd92f0faadad1dc127358d7a27729
treee655acf72d4803efa48038ec4b86c1690916cb87
parent277e524392a71c68d8248f9637725319704fd086
Make test-read-dwarf.cc and test-read-write.cc abidiff the ABIs

use abidiff to compare the ABI of the input ABI against the result of
writing that input back into an XML format.  It should yield the empty
set.  I wonder why I haven't done this since the beginning.  It turned
out we had to fix many things to make it work now.  Just using "GNU
diff" to compare the output against a reference output is definitely
not enough.

* tests/test-read-dwarf.cc (main): Use abidiff to compare the
input elf file with the XML emitted.  That should yield the empty
set.
* tests/test-read-write.cc (main): Likewise, use abidiff to
compare the input abixml file with the one that is emitted.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
tests/test-read-dwarf.cc
tests/test-read-write.cc
This page took 0.030954 seconds and 5 git commands to generate.