summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add ppc testcase for elf32_xlatetom.c fix.Mark Wielaard2012-07-173-1/+15
| | | | | | Fails before commit bc0f74 on x86, succeeds after. Signed-off-by: Mark Wielaard <[email protected]>
* tests: only compile test programs when running testMike Frysinger2012-07-172-3/+7
| | | | | | | | | | | | The test binaries are only needed by make check, so change the PROGRAMS category from noinst_ to check_ to speed up default `make && make install`. If people want to run the tests, then the utilities will be compiled automatically when they run `make check`, so the normal workflow should be unchanged. Signed-off-by: Mike Frysinger <[email protected]> Signed-off-by: Mark Wielaard <[email protected]>
* Add low-level support for .debug_macro.Mark Wielaard2012-06-275-2/+63
| | | | Signed-off-by: Mark Wielaard <[email protected]>
* tests/low_high_pc.c: Use proper inttypes in printf formats.elfutils-0.154Mark Wielaard2012-06-222-2/+6
| | | | Signed-off-by: Mark Wielaard <[email protected]>
* Update name, license and contributor policy.Mark Wielaard2012-06-05112-2008/+1168
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Change name from "Red Hat elfutils" to "elfutils". * Update license of standalone tools and test from GPLv2 to GPLv3+. * Change license of libraries from GPLv2+exception to GPLv2/LGPLv3+. * Add Developer Certificate of Origin based contributor policy. top-level: - COPYING: Upgraded from GPLv2 to GPLv3. - CONTRIBUTING, COPYING-GPLv2, COPYING-LGPLv3: New files. - NEWS: Added note about new contribution and license policy. - Makefile.am: Updated to GPLv3, added new files to EXTRA_DIST. - configure.ac: Update to GPLv3, changed AC_INIT name to 'elfutils'. backends, lib, libasm, libcpu, libdw, libdwfl, libebl, libelf: - All files updated to GPLv2/LGPLv3+. Except some very small files (<5 lines) which didn't have any headers at all before, the linker .maps files and the libcpu/defs files which only contain data and libelf/elf.h which comes from glibc and is under LGPLv2+. config: - elfutils.spec.in: Add new License: headers and new %doc files. - Update all license headers to GPLv2/LGPLv3+ for files used by libs. src, tests: - All files updated to GPLv3+. Except for the test bz2 data files, the linker maps and script files and some very small files (<5 lines) that don't have any headers. Signed-off-by: Richard Fontana <[email protected]> Signed-off-by: Mark Wielaard <[email protected]>
* Remove .mtn-ignore and .cvsignore files.Mark Wielaard2012-06-051-1/+0
| | | | We use .gitignore these days.
* TESTS_ENVIRONMENT set LC_ALL and LANG to C.Mark Wielaard2012-05-112-1/+6
| | | | | | Some tests rely on sort order and output of tools that might be localized. Reported-by: Paweł Sikora <[email protected]>
* tests/low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.Mark Wielaard2012-05-072-1/+8
| | | | | GCC < 4.7 had a bug where no code CUs got a highpc == lowpc. Allow that, because it is not the main purpose of this test.
* dwarf_highpc: Handle DW_AT_high_pc being a constant offset from DW_AT_low_pc.Mark Wielaard2012-04-285-3/+169
|
* Removed old libdwarf test show-ciefde.Mark Wielaard2012-04-264-556/+7
|
* Add new run-unstrip-n.sh test for RHBZ#805447 fixed in commit 210c2f.Mark Wielaard2012-04-034-3/+64
|
* elf32_offscn.c: Do not match SHT_NOBITS sections at OFFSET.Mark Wielaard2012-04-025-2/+93
| | | | | | readelf -d doesn't work if a SHT_NOBITS section is right before the actual .dynamic section at the same offset. elflint also fails on such binaries. So skip SHT_NOBITS sections at the same offset in [g]elf[32|64]_offscn().
* Fix bug using dwarf_next_unit to iterate over .debug_typesTom Tromey2012-03-215-3/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | * libdw_findcu.c (findcu_cb): Move earlier. (__libdw_intern_next_unit): Add new CU to search tree here... (__libdw_findcu): ... not here. * typeiter.c: New file. * run-typeiter.sh: New file. * testfile59.bz2: New file. * Makefile.am (noinst_PROGRAMS): Add typeiter. (TESTS): Add run-typeiter.sh. (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2. (typeiter_LDADD): New variable. If you call dwarf_next_unit to iterate over .debug_types, then call dwarf_offdie_types, you can see a failure if some earlier call happened to call __libdw_intern_next_unit via dwarf_formref_die. What happens is that __libdw_intern_next_unit updates the Dwarf's next_tu_offset, but does not add the TU to the TU search tree. So, the call to dwarf_offdie_types does not find the TU in the tree, and will not search any more, causing a failure. This fix changes __libdw_intern_next_unit to add the TU to the search tree, rather than relying on __libdw_findcu to do it.
* run-alldts.sh: testrun ./alldts.Kurt Roeckx2012-02-241-0/+4
|
* run-alldts.sh: testrun ./alldts.Kurt Roeckx2012-02-241-1/+1
|
* test-subr.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.Roland McGrath2012-02-212-2/+4
|
* test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.Roland McGrath2012-02-212-5/+10
|
* Don't set LD_LIBRARY_PATH explicitly for command run inside test case.Roland McGrath2012-01-184-9/+14
|
* Clean up byte order handling in md5 and sha1 code.Roland McGrath2011-07-094-83/+123
|
* Add missing test wrappers to Makefile.am (EXTRA_DIST).Mark Wielaard2011-05-302-2/+7
|
* Add hello_s390.ko testcase to run-strip-reloc.sh.Mark Wielaard2011-05-244-2/+9
| | | | | This new test PASSes, but looking at the size results will show --reloc-debug-sections isn't making a huge difference for this case.
* strip: Add --reloc-debug-sections option.Mark Wielaard2011-05-236-1/+128
|
* strip: Handle SHT_GROUP sections better.Mark Wielaard2011-05-194-3/+74
|
* New test for ebl_dynamic_tag_name.Marek Polacek2011-03-304-4/+394
|
* Handle repeated requests for invalid abbreviationPetr Machata2011-03-163-2/+3
|
* Cosmetic cleanup for new test.Roland McGrath2011-03-092-5/+5
|
* Reject requests for abbreviation with code 0Petr Machata2011-03-104-4/+92
|
* New test for dwarf_getstring.Marek Polacek2011-03-074-2/+229
|
* Merge branch 'master' of ssh://git.fedorahosted.org/git/elfutilsRoland McGrath2011-03-032-2/+6
|\
| * BUILT_RPATH vs BUILD_RPATH fixup.Mark Wielaard2011-02-252-2/+6
| | | | | | | | * tests/Makefile.am (BUILD_RPATH): Be consistent in naming.
* | Fix readelf --debug-dump=loc crash on multiple input files.Jan Kratochvil2011-02-273-1/+38
|/
* run-prelink-addr-test.sh: Add a .dynbss+.bss prelink splitJosh Stone2011-02-029-1/+56
|
* Undo last change for data-only tests, so we test PT_DYNAMIC digging too.Roland McGrath2011-01-122-5/+9
|
* run-prelink-addr-test.sh: Make symlinks to find .debug files corresponding ↵Roland McGrath2011-01-122-7/+16
| | | | to noshdrs files.
* Add data-only prelink testsJosh Stone2011-01-1211-1/+83
|
* Expand testfile53 for 32/64-bitJosh Stone2011-01-1212-13/+42
|
* Expand testfile52 for 32/64-bit and stripped headersJosh Stone2011-01-1214-22/+69
|
* Test cases for libdwfl vs prelink.Josh Stone2011-01-109-2/+102
|
* Fix unstrip for modifying file in place.Roland McGrath2010-06-142-2/+15
|
* Fix tests/addrcfi error reporting.Roland McGrath2010-04-222-2/+7
|
* Add missing file for dist.Roland McGrath2010-04-142-1/+5
|
* Adjust expected error message text from libelf.Ulrich Drepper2010-04-102-1/+5
|
* Testcase for elf_getdata/elf_flagdata on NOBITS sectionPetr Machata2010-04-064-2/+85
|
* Clean up and consolidate automake magic to reduce duplication and to work ↵Roland McGrath2010-02-152-15/+10
| | | | with --disable-dependency-tracking.
* Fix -Wshadow warning in asm-tst9.Roland McGrath2010-02-152-6/+10
|
* Rejigger calling conventions for dwarf_frame_{cfa,register}.Roland McGrath2009-07-222-2/+7
|
* CFI support: lookup by PC and translate into DWARF location per registerRoland McGrath2009-07-083-2/+214
|
* Cosmetic fixup and missed EXTRA_DIST file.Roland McGrath2009-05-072-4/+5
|
* Add a test for dwarf_getmacrosPetr Machata2009-05-075-3/+372
|
* Fix building tests with mudflap.Ulrich Drepper2009-04-232-3/+8
|