libdwfl: Fix and test aux_sym address_sync with relocated ELF
[platform/upstream/elfutils.git] / tests / ChangeLog
index 2da85cf..9a8ac61 100644 (file)
@@ -1,3 +1,227 @@
+2013-11-18  Josh Stone  <jistone@redhat.com>
+
+       * testfilebazdbg_plr.bz2: New testfile.
+       * testfilebazmin_plr.bz2: Likewise.
+       * Makefile.am (EXTRA_DIST): Add the above files.
+       * run-dwflsyms.sh: Add prelink -r tests.
+
+2013-11-15  Mark Wielaard  <mjw@redhat.com>
+
+       * testfilebazmdb.bz2: Regenerated.
+       * testfilebazmin.bz2: Likewise.
+       * testfilebazdbg_pl.bz2: New testfile.
+       * testfilebazmin_pl.bz2: Likewise.
+       * Makefile.am (EXTRA_DIST): Add testfilebazdbg_pl.bz2 and
+       testfilebazmin_pl.bz2.
+       * dwflsyms.c (list_syms): Call dwfl_module_relocate_address and
+       print relative address of function symbols.
+       * run-dwflsyms.sh: Add prelink tests and adjust expected output.
+
+2013-11-01  Michael Forney  <mforney@mforney.org>
+
+       * Makefile.am (TESTS_ENVIRONMENT): Use and export NM.
+       * run-arsymtest.sh: Use NM.
+
+2013-11-05  Mark Wielaard  <mjw@redhat.com>
+
+       * allfcts.c (main): Correct dwarf_getfuncs return value check.
+
+2013-10-10  Mark Wielaard  <mjw@redhat.com>
+           Josh Stone  <jistone@redhat.com>
+
+       * run-allfcts-multi.sh: New test.
+       * test-offset-loop.bz2: New testfile.
+       * test-offset-loop.alt.bz2: New testfile.
+       * Makefile.am (TESTS): Add run-allcft-multi.sh if ENABLE_DWZ.
+       (EXTRA_DIST): Add run-allfcts-multi.sh, test-offset-loop.bz2 and
+       test-offset-loop.alt.bz2.
+
+2013-10-15  Mark Wielaard  <mjw@redhat.com>
+
+       * run-unstrip-M.sh: New test.
+       * Makefile.am (TESTS): Add run-unstrip-M.sh.
+       (EXTRA_DIST): Likewise.
+
+2013-10-06  Mark Wielaard  <mjw@redhat.com>
+
+       * run-addrcfi.sh: Remove nop from expected ppc and ppc64
+       location expression.
+
+2013-10-03  Josh Stone  <jistone@redhat.com>
+
+       * typeiter2.c: New file, reversing typeiter.c.
+       * run-typeiter.sh: Also run typeiter2.
+       * Makefile.am (check_PROGRAMS): Add typeiter2.
+       (typeiter2_LDADD): New variable.
+
+2013-09-26  Petr Machata  <pmachata@redhat.com>
+
+       * run-readelf-mixed-corenote.sh: Update output of testfile71
+       dump--readelf can newly decode the NT_FILE note.
+
+2013-09-26  Petr Machata  <pmachata@redhat.com>
+
+       * Makefile.am (EXTRA_DIST): Add testfile71.bz2.
+       * run-readelf-mixed-corenote.sh: New test for this file.
+       * testfile71.bz2: New file.
+
+2013-09-20  Mark Wielaard  <mjw@redhat.com>
+
+       * allfcts.c (cb): Return DWARF_CB_ABORT.
+       (main): Iterate over all offsets returned by dwarf_getfuncs.
+       * run-allfcts.sh: Add nested_funcs and class_func testcases.
+       * testfile_nested_funcs.bz2: New test file.
+       * testfile_class_func.bz2: Likewise.
+       * Makefile.am (EXTRA_DIST): Add testfile_class_func.bz2 and
+       testfile_nested_funcs.bz2.
+
+2013-08-30  Mark Wielaard  <mjw@redhat.com>
+
+       * Makefile.am (check_PROGRAMS): Add varlocs.
+       (TESTS): Add run-varlocs.sh.
+       (EXTRA_DIST): Add run-varlocs.sh, testfile_const_type.c,
+       testfile_const_type.bz2, testfile_implicit_pointer.c,
+       testfile_implicit_pointer.bz2, testfile_parameter_ref.c,
+       testfile_entry_value.c, testfile_entry_value.bz2,
+       testfile_implicit_value.c and testfile_implicit_value.bz2.
+       (varlocs_LDADD): New.
+       * run-varlocs: New test.
+       * testfile_const_type.c: New test source file.
+       * testfile_entry_value.c: Likewise.
+       * testfile_implicit_pointer.c: Likewise.
+       * testfile_implicit_value.c: Likewise.
+       * testfile_parameter_ref.c: Likewise.
+       * testfile_const_type.bz2: New test file.
+       * testfile_entry_value.bz2: Likewise.
+       * testfile_implicit_pointer.bz2: Likewise.
+       * testfile_implicit_value.bz2: Likewise.
+       * testfile_parameter_ref.bz2: Likewise.
+       * varlocs.c: New test source.
+
+2013-08-29  Mark Wielaard  <mjw@redhat.com>
+
+       * run-addrcfi.sh: Add case for EM_ARM.
+       * testfilearm.bz2: New testfile.
+       * Makefile.am (EXTRA_DIST): Add testfilesarm.bz2.
+
+2013-08-28  Mark Wielaard  <mjw@redhat.com>
+
+       * addrcfi.c (handle_cfi): Handle .debug_frame or .eh_frame
+       completely missing.
+       * run-addrcfi.sh: Add case for EM_S390 ELFCLASS32 and ELFCLASS64.
+       * testfiles390.bz2: New testfile.
+       * testfiles390x.bz2: Likewise.
+       * Makefile.am (EXTRA_DIST): Add testfiles390.bz2 and
+       testfiles390x.bz2.
+
+2013-08-28  Mark Wielaard  <mjw@redhat.com>
+
+       * addrcfi.c (handle_cfi): Use printf not error.
+       * run-addrcfi.sh: Add case for EM_PPC and EM_PPC64.
+       * testfileppc32.bz2: New testfile.
+       * testfileppc64.bz2: Likewise.
+       * Makefile.am (EXTRA_DIST): Add testfileppc32.bz2 and
+       testfileppc64.bz2.
+
+2013-08-27  Mark Wielaard  <mjw@redhat.com>
+
+       * run-addrcfi.sh: New test.
+       * Makefile.am (TESTS): Add run-addrcfi.sh.
+       (EXTRA_DIST): Likewise.
+       * addrcfi.c (op_name): New function.
+       (print_detail): Call and print op_name. Check ops, not result
+       to check if this is "same value" or "undefined".
+       (handle_cfi): Make sure cfa_ops doesn't point to NULL.
+
+2013-08-13  Mark Wielaard  <mjw@redhat.com>
+
+       * run-addr2line-i-test.sh: New test.
+       * testfile-inlines.bz2: New testfile.
+       * Makefile.am (EXTRA_DIST): Add run-addr2line-i-test.sh and
+       testfile-inlines.bz2.
+       (TESTS): Add run-addr2line-i-test.sh.
+
+2013-08-12  Mark Wielaard  <mjw@redhat.com>
+
+       * run-addr2line-test.sh: New test.
+       * Makefile.am (EXTRA_DIST): Add run-addr2line-test.sh.
+       (TESTS): Likewise.
+
+2013-07-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * run-unstrip-n.sh (test-core.*): Ignore libc.so.6 entry and order of
+       the entries.
+
+2013-07-02  Mark Wielaard  <mjw@redhat.com>
+
+       * Makefile.am (EXTRA_DIST): Fix typo, forgot extension in
+       testfilenolines.bz2.
+
+2013-05-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2,
+       test-core.core.bz2 and test-core.exec.bz2.
+       * run-addrname-test.sh: New test for these files.
+       * run-unstrip-n.sh: Update expected output.  New test for these files.
+       * test-core-lib.so.bz2: New file.
+       * test-core.core.bz2: New file.
+       * test-core.exec.bz2: New file.
+
+2013-05-03  Mark Wielaard  <mjw@redhat.com>
+
+       * testfilenolines.bz2: New test file.
+       * Makefile.am (EXTRA_DIST): Add testfilenolines.bz2.
+       * run-get-lines.sh: Run testrun_compare on testfilenolines.
+
+2013-04-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf.
+
+2013-04-29  Mark Wielaard  <mjw@redhat.com>
+
+       * test-subr.sh: Don't use pushd, just cd into test-dir.
+       (exit_cleanup): Don't use popd, just cd .. to get out.
+
+2013-04-27  Mark Wielaard  <mjw@redhat.com>
+
+       * test-subr.sh (exit_cleanup): New function.
+       (trap): Use exit_cleanup as argument.
+       * run-native-test.sh (native_exit): New function.
+       (trap): For EXIT (0) use native_exit as argument.
+
+2013-04-27  Mark Wielaard  <mjw@redhat.com>
+
+       * update1.c (main): Use unique tempfile name and unlink file.
+       * update2.c (main): Likewise.
+       * update3.c (main): Likewise.
+       * update4.c (main): Use unique tempfile name.
+
+2013-04-27  Mark Wielaard  <mjw@redhat.com>
+
+       * run-alldts.sh: Add testfile-alldts to tempfiles.
+       * run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles.
+       * run-macro-test.sh: Add readelf.macros.out to tempfiles.
+       * run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2
+       and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles.
+
+2013-04-26  Mark Wielaard  <mjw@redhat.com>
+
+       * Makefile.am (installed_TESTS_ENVIRONMENT): Export environment,
+       remove wrapper.
+       (TESTS_ENVIRONMENT): Likewise.
+       (installed_LOG_COMPILER): New variable defining wrapper.
+       (LOG_COMPILER): Likewise.
+       * run-*.sh: Fixup location of input and output files.
+       * test-subr.sh: Create test_dir, pushd to execute test in.
+       (trap): Remove test_dir.
+       (testfiles): Use abs_srcdir.
+       (installed_testrun): Match on abs_builddir or abs_top_builddir.
+       (self_test_files): Adjust path.
+
+2013-04-24  Mark Wielaard  <mjw@redhat.com>
+
+       * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
+
 2013-03-25  Mark Wielaard  <mjw@redhat.com>
 
        * run-readelf-aranges.sh: New test.