Fix expected output for WarnUninitialized test
This commit is contained in:
parent
4e3bea41ee
commit
544d0c3774
|
@ -1157,7 +1157,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
|
||||||
--build-project WarnUninitialized
|
--build-project WarnUninitialized
|
||||||
--build-options "--warn-uninitialized")
|
--build-options "--warn-uninitialized")
|
||||||
SET_TESTS_PROPERTIES(WarnUninitialized PROPERTIES
|
SET_TESTS_PROPERTIES(WarnUninitialized PROPERTIES
|
||||||
PASS_REGULAR_EXPRESSION "CMake Warning: uninitialized variable 'USED_VARIABLE'")
|
PASS_REGULAR_EXPRESSION "uninitialized variable 'USED_VARIABLE'")
|
||||||
LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/WarnUninitialized")
|
LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/WarnUninitialized")
|
||||||
|
|
||||||
# Make sure CTest can handle a test with no newline in output.
|
# Make sure CTest can handle a test with no newline in output.
|
||||||
|
|
Loading…
Reference in New Issue