CMake/Tests/ExportImport
Raphael Kubo da Costa 21d99aa345 Tests: Use a less strict regular expression to look for "SONAME"
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.
2015-09-01 10:30:09 -04:00
..
Export Tests: Cover NO_SONAME property for SHARED libraries 2015-08-20 10:38:34 -04:00
Import Tests: Use a less strict regular expression to look for "SONAME" 2015-09-01 10:30:09 -04:00
CMakeLists.txt Tests: Add generator platform support 2014-09-10 11:21:50 -04:00
InitialCache.cmake.in Tests: Rename CMAKE_TEST_MAKEPROGRAM uses for nested test projects 2014-03-03 15:26:48 -05:00
main.c ENH: Added ExportImport test to test new export/import features. 2008-01-28 08:40:21 -05:00