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:
parent
a443308c37
commit
4d653fb4ee
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue