summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-09-09 15:23:34 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-09-09 15:23:34 (GMT)
commit7b2e3cc63b6dc38a458524a4edcdd43fe967098b (patch)
treedc0136fe9a2804985359306b47a52a95c6f4813c /Tests
parenta5c6ae69f3f773ade65f94b26a79adfbe64dff66 (diff)
parent3e84e78c3fcd2575a4159c3a1619833a7a80ef17 (diff)
downloadCMake-7b2e3cc63b6dc38a458524a4edcdd43fe967098b.zip
CMake-7b2e3cc63b6dc38a458524a4edcdd43fe967098b.tar.gz
CMake-7b2e3cc63b6dc38a458524a4edcdd43fe967098b.tar.bz2
Merge topic 'use-consistent-regex-for-info-strings'
3e84e78c Use a more reliable regex for extracting binary INFO strings
Diffstat (limited to 'Tests')
-rw-r--r--Tests/PerConfig/perconfig.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/PerConfig/perconfig.cmake b/Tests/PerConfig/perconfig.cmake
index 0731041..5286307 100644
--- a/Tests/PerConfig/perconfig.cmake
+++ b/Tests/PerConfig/perconfig.cmake
@@ -29,7 +29,7 @@ endif()
# Verify that the implementation files are named correctly.
foreach(lib pcStatic pcShared)
- file(STRINGS "${${lib}_file}" info LIMIT_COUNT 1 REGEX "INFO:[^[]*\\[")
+ file(STRINGS "${${lib}_file}" info LIMIT_COUNT 1 REGEX "INFO:[A-Za-z0-9_]+\\[[^]]*\\]")
if(NOT "${info}" MATCHES "INFO:symbol\\[${lib}\\]")
message(SEND_ERROR "No INFO:symbol[${lib}] found in:\n ${${lib}_file}")
endif()