Fix 'Architecture' test for more Mac linkers

Some Mac linkers produce the message

  "file was built for unsupported file format which is not the
   architecture being linked"

for this test.  Update the test output regex to match it.
This commit is contained in:
Brad King 2010-05-06 14:37:55 -04:00
parent a443308c37
commit 4d653fb4ee
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ IF(BUILD_TESTING)
IF(CTEST_TEST_OSX_ARCH)
ADD_TEST_MACRO(Architecture Architecture)
SET_TESTS_PROPERTIES(Architecture PROPERTIES
PASS_REGULAR_EXPRESSION "(file is not of required architecture|does not match cputype)")
PASS_REGULAR_EXPRESSION "(file is not of required architecture|does not match cputype|not the architecture being linked)")
ENDIF(CTEST_TEST_OSX_ARCH)
LIST(APPEND TEST_BUILD_DIRS ${CMake_TEST_INSTALL_PREFIX})