diff options
author | Mark Wielaard <mark@klomp.org> | 2018-05-31 14:35:34 +0200 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2018-06-01 13:14:39 +0200 |
commit | 00d89086c97a8782620da14ec2fab67d5bd57038 (patch) | |
tree | 7a51e3164d963265004d7c9c5a0905fcd900d1e2 /tests/run-unit-info.sh | |
parent | 60d2bfc2ea7250de8e02ef02cae761821dd53de2 (diff) | |
download | elfutils-00d89086c97a8782620da14ec2fab67d5bd57038.tar.gz |
tests: Split self_test_files into an exe, lib and obj list.
Introduce testrun_on_self_exe and testrun_on_self_lib.
Some tests cannot handle (unrelocated) ET_REL object files.
run-get-units-split.sh and run-unit-info.sh only handle executables
and shared libraries. This allows running the whole testsuite on an
elfutils build done with CFLAGS="-gdwarf-4 -gsplit-dwarf -O2".
Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'tests/run-unit-info.sh')
-rwxr-xr-x | tests/run-unit-info.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/run-unit-info.sh b/tests/run-unit-info.sh index f4ce427b..328fe78b 100755 --- a/tests/run-unit-info.sh +++ b/tests/run-unit-info.sh @@ -74,7 +74,8 @@ Iterate no info, compare recorded info with dwarf_cu_info. EOF -# Self test -testrun_on_self ${abs_builddir}/unit-info +# Self test (not on obj files, since those need relocation first). +testrun_on_self_exe ${abs_builddir}/unit-info +testrun_on_self_lib ${abs_builddir}/unit-info exit 0 |