summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Ninja
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/Ninja
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/Ninja')
-rw-r--r--Tests/RunCMake/Ninja/RunCMakeTest.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/Ninja/RunCMakeTest.cmake b/Tests/RunCMake/Ninja/RunCMakeTest.cmake
index 8c91b34..3f239b9 100644
--- a/Tests/RunCMake/Ninja/RunCMakeTest.cmake
+++ b/Tests/RunCMake/Ninja/RunCMakeTest.cmake
@@ -18,6 +18,9 @@ else()
message(FATAL_ERROR "'ninja --version' reported:\n${ninja_out}")
endif()
+# Sanitize NINJA_STATUS since we expect default behavior.
+unset(ENV{NINJA_STATUS})
+
if(CMAKE_HOST_WIN32)
run_cmake(SelectCompilerWindows)
else()