Tests: Make RunCMake.CMP0106 expected output robust to line number changes

This commit is contained in:
Brad King
2020-12-01 14:15:23 -05:00
committed by Nikita Nemkin
parent 628d7ef672
commit 6ae216daef
2 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
CMake Error at .*/Modules/Documentation.cmake:15 \(message\): CMake Error at .*/Modules/Documentation.cmake:[0-9]+ \(message\):
Documentation.cmake is VTK-specific code and should not be used in non-VTK Documentation.cmake is VTK-specific code and should not be used in non-VTK
projects. This logic in this module is best shipped with the project using projects. This logic in this module is best shipped with the project using
it rather than with CMake. This is now an error according to policy it rather than with CMake. This is now an error according to policy

View File

@@ -8,7 +8,7 @@ Call Stack \(most recent call first\):
CMakeLists.txt:7 \(include\) CMakeLists.txt:7 \(include\)
This warning is for project developers. Use -Wno-dev to suppress it. This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning \(dev\) at .*/Modules/Documentation.cmake:27 \(message\): CMake Warning \(dev\) at .*/Modules/Documentation.cmake:[0-9]+ \(message\):
Policy CMP0106 is not set: The Documentation module is removed. Run "cmake Policy CMP0106 is not set: The Documentation module is removed. Run "cmake
--help-policy CMP0106" for policy details. Use the cmake_policy command to --help-policy CMP0106" for policy details. Use the cmake_policy command to
set the policy and suppress this warning. set the policy and suppress this warning.
@@ -22,7 +22,7 @@ Call Stack \(most recent call first\):
CMakeLists.txt:7 \(include\) CMakeLists.txt:7 \(include\)
This warning is for project developers. Use -Wno-dev to suppress it. This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning \(dev\) at .*/Modules/Documentation.cmake:27 \(message\): CMake Warning \(dev\) at .*/Modules/Documentation.cmake:[0-9]+ \(message\):
Policy CMP0106 is not set: The Documentation module is removed. Run "cmake Policy CMP0106 is not set: The Documentation module is removed. Run "cmake
--help-policy CMP0106" for policy details. Use the cmake_policy command to --help-policy CMP0106" for policy details. Use the cmake_policy command to
set the policy and suppress this warning. set the policy and suppress this warning.