summaryrefslogtreecommitdiffstats
path: root/Tests/Plugin/check_mod_soname.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Use a less strict regular expression to look for "SONAME"Raphael Kubo da Costa2015-09-011-1/+1
| | | | | | | | | | | | | | | | | | | Commit 899458ab (Tests: Cover NO_SONAME property for SHARED libraries, 2015-08-20) introduced a few new ExportImport tests, and the check_lib_{no}soname.cmake scripts that parse readelf(1)'s output. Make the regular expression matching the SONAME line output by readelf less strict, as the output format varies across implementations: GNU binutils' readelf is the only one to write each ELF header within parentheses (which the previous regular expression expected). The new tests were thus failing when either Fedora's elfutils (eu-readelf) or elftoolchain's readelf (present on recent FreeBSD versions) were being used, as they both list the headers without parentheses. The same issue also affected Tests/Plugin's check_mod_soname.cmake, so fix that one as well -- the only reason the test was not failing is that it tested that the regular expression did not match, which was always the case with a non-binutils readelf.
* Do not set SONAME for MODULE library targets (#15705)Felix Geyer2015-08-201-12/+5
| | | | | The SONAME field is only useful for shared libraries that application link against.
* Test NO_SONAME property (#13155)Brad King2012-04-301-0/+14
Teach the Plugin test to check that the NO_SONAME target property works as documented. Check that the IMPORTED targets are written with the correct properties. When readelf is available use it to check the actual binary files for SONAME fields.