summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/message/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2019-10-10 12:28:12 (GMT)
committerCraig Scott <craig.scott@crascit.com>2019-10-12 06:01:15 (GMT)
commit5bf85e25178f5d9f19d2f30cf66f088c21e1114a (patch)
treedd22cbdaa84ef3faa5da98ced25adfed3219a507 /Tests/RunCMake/message/RunCMakeTest.cmake
parentaa59badd6f1ab3c40d3674c26e1e55271d25225c (diff)
downloadCMake-5bf85e25178f5d9f19d2f30cf66f088c21e1114a.zip
CMake-5bf85e25178f5d9f19d2f30cf66f088c21e1114a.tar.gz
CMake-5bf85e25178f5d9f19d2f30cf66f088c21e1114a.tar.bz2
message: Add new CMAKE_MESSAGE_LOG_LEVEL variable
Diffstat (limited to 'Tests/RunCMake/message/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/message/RunCMakeTest.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/message/RunCMakeTest.cmake b/Tests/RunCMake/message/RunCMakeTest.cmake
index 9198a25..50271d4 100644
--- a/Tests/RunCMake/message/RunCMakeTest.cmake
+++ b/Tests/RunCMake/message/RunCMakeTest.cmake
@@ -56,6 +56,11 @@ foreach(opt IN ITEMS loglevel log-level)
endforeach()
run_cmake_command(
+ message-log-level-override
+ ${CMAKE_COMMAND} --log-level=debug -DCMAKE_MESSAGE_LOG_LEVEL=TRACE -P ${RunCMake_SOURCE_DIR}/message-all-loglevels.cmake
+ )
+
+run_cmake_command(
message-indent
${CMAKE_COMMAND} -P ${RunCMake_SOURCE_DIR}/message-indent.cmake
)