Fixup messed up old runtestdiffdwarf input tests

While working on supporting the comparison of sonames I realized that
the runtestdiffdwarf test harness was missing some input data.  This
patch addresses that.

	* tests/data/test-diff-dwarf/test17-non-refed-syms-report-0.txt:
	Add this missing reference test output.
	* tests/data/Makefile.am: Add the new reference test output to
	source distribution.
	* tests/data/test-diff-dwarf/test18-alias-sym-report-0.txt: Fix
	this output to avoid emitting symbol alias information in it.
	* tests/test-diff-dwarf.cc (in_out_specs): Add two missing test
	input data to the list of input data this harness is supposed to
	run over.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
Dodji Seketeli 2014-12-07 23:34:21 +01:00
parent 721728e7de
commit ae98acdb90
4 changed files with 24 additions and 2 deletions

View File

@ -156,6 +156,7 @@ test-diff-dwarf/test16-syms-only-v1.cc \
test-diff-dwarf/test16-syms-only-report.txt \
test-diff-dwarf/test17-non-refed-syms-v0.o \
test-diff-dwarf/test17-non-refed-syms-v1.o \
test-diff-dwarf/test17-non-refed-syms-report-0.txt \
test-diff-dwarf/test17-non-refed-syms-v0.cc \
test-diff-dwarf/test17-non-refed-syms-v1.cc \
test-diff-dwarf/libtest18-alias-sym-v0.so \

View File

@ -0,0 +1,9 @@
Functions changes summary: 0 Removed, 0 Changed, 0 Added function
Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
Function symbols changes summary: 0 Removed, 1 Added function symbol not referenced by debug info
Variable symbols changes summary: 0 Removed, 0 Added function symbol not referenced by debug info
1 Added function symbol not referenced by debug info:
bar

View File

@ -3,6 +3,6 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
2 Added functions:
'function void bar()' {_Z3barv}
'function void foo()' {foo_alias@VERSION_1.0, aliases _Z3foov}
'function void bar()'
'function void foo()'

View File

@ -164,6 +164,18 @@ InOutSpec in_out_specs[] =
"data/test-diff-dwarf/test16-syms-only-report.txt",
"output/test-diff-dwarf/test16-syms-only-report.txt"
},
{
"data/test-diff-dwarf/test17-non-refed-syms-v0.o",
"data/test-diff-dwarf/test17-non-refed-syms-v1.o",
"data/test-diff-dwarf/test17-non-refed-syms-report-0.txt",
"output/test-diff-dwarf/test17-non-refed-syms-report-0.txt"
},
{
"data/test-diff-dwarf/libtest18-alias-sym-v0.so",
"data/test-diff-dwarf/libtest18-alias-sym-v1.so",
"data/test-diff-dwarf/test18-alias-sym-report-0.txt",
"output/test-diff-dwarf/test18-alias-sym-report-0.txt"
},
{
"data/test-diff-dwarf/libtest19-soname-v0.so",
"data/test-diff-dwarf/libtest19-soname-v1.so",