Fix which string is checked for in the test
GNU Makefiles have an extra line that Visual Studio doesn't output.
This commit is contained in:
parent
220c5dc45a
commit
d3a89432fd
|
@ -155,7 +155,7 @@ IF(BUILD_TESTING)
|
|||
ADD_TEST_MACRO(PolicyScope PolicyScope)
|
||||
ADD_TEST_MACRO(EmptyLibrary EmptyLibrary)
|
||||
SET_TESTS_PROPERTIES(EmptyLibrary PROPERTIES
|
||||
PASS_REGULAR_EXPRESSION "CMake Error: Cannot determine link language for target \"test\"")
|
||||
PASS_REGULAR_EXPRESSION "CMake Error: CMake can not determine linker language for target:test")
|
||||
ADD_TEST_MACRO(CrossCompile CrossCompile)
|
||||
SET_TESTS_PROPERTIES(CrossCompile PROPERTIES
|
||||
PASS_REGULAR_EXPRESSION "TRY_RUN.. invoked in cross-compiling mode")
|
||||
|
|
Loading…
Reference in New Issue