summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/NinjaMultiConfig
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2021-06-26 06:32:38 (GMT)
committerBrad King <brad.king@kitware.com>2021-06-28 14:38:05 (GMT)
commit63177678d063fb0051541054d7657fb0c3177ea0 (patch)
tree4b4761c2ae9706c595f87eb7ac8cb7868ce6f03a /Tests/RunCMake/NinjaMultiConfig
parent5694362d98422b455b5c475a1c1f783c61d1221c (diff)
downloadCMake-63177678d063fb0051541054d7657fb0c3177ea0.zip
CMake-63177678d063fb0051541054d7657fb0c3177ea0.tar.gz
CMake-63177678d063fb0051541054d7657fb0c3177ea0.tar.bz2
Tests/RunCMake/Ninja.*: Sanitize NINJA_STATUS since we expect default behavior
FYI, NINJA_STATUS is "[%f/%t] " by default.
Diffstat (limited to 'Tests/RunCMake/NinjaMultiConfig')
-rw-r--r--Tests/RunCMake/NinjaMultiConfig/RunCMakeTest.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/NinjaMultiConfig/RunCMakeTest.cmake b/Tests/RunCMake/NinjaMultiConfig/RunCMakeTest.cmake
index e7acbc2..559c8f7 100644
--- a/Tests/RunCMake/NinjaMultiConfig/RunCMakeTest.cmake
+++ b/Tests/RunCMake/NinjaMultiConfig/RunCMakeTest.cmake
@@ -5,6 +5,9 @@ include(RunCMake)
set(RunCMake_GENERATOR "Ninja Multi-Config")
set(RunCMake_GENERATOR_IS_MULTI_CONFIG 1)
+# Sanitize NINJA_STATUS since we expect default behavior.
+unset(ENV{NINJA_STATUS})
+
function(check_files dir)
cmake_parse_arguments(_check_files "" "" "INCLUDE;EXCLUDE" ${ARGN})