diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2015-09-01 13:33:15 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-09-01 14:30:09 (GMT) |
commit | 21d99aa345f0af53987cd745384d28f639044507 (patch) | |
tree | 298bfd12d4c4a74cf8c592fb14dbb9704c0f1512 /Tests/JacocoCoverage | |
parent | f799ffb5cb895855ac2aba54765622b81db5be38 (diff) | |
download | CMake-21d99aa345f0af53987cd745384d28f639044507.zip CMake-21d99aa345f0af53987cd745384d28f639044507.tar.gz CMake-21d99aa345f0af53987cd745384d28f639044507.tar.bz2 |
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.
Diffstat (limited to 'Tests/JacocoCoverage')
0 files changed, 0 insertions, 0 deletions