diff options
author | Brad King <brad.king@kitware.com> | 2015-04-29 20:13:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-04-29 20:14:52 (GMT) |
commit | 703e76252930429ac39d3ebf456e3e1e688d1982 (patch) | |
tree | 927cdf60d1478508de99b6058829bd1ba82f465c | |
parent | 036e449c665ce3abe8c11b32c1f73ee9b8a68300 (diff) | |
download | CMake-703e76252930429ac39d3ebf456e3e1e688d1982.zip CMake-703e76252930429ac39d3ebf456e3e1e688d1982.tar.gz CMake-703e76252930429ac39d3ebf456e3e1e688d1982.tar.bz2 |
Tests: Protect RunCMake tests from MAKEFLAGS in environment (#15542)
-rw-r--r-- | Tests/RunCMake/RunCMake.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/RunCMake.cmake b/Tests/RunCMake/RunCMake.cmake index b24ae0b..70c0d6c 100644 --- a/Tests/RunCMake/RunCMake.cmake +++ b/Tests/RunCMake/RunCMake.cmake @@ -135,3 +135,6 @@ function(run_cmake_command test) set(RunCMake_TEST_COMMAND "${ARGN}") run_cmake(${test}) endfunction() + +# Protect RunCMake tests from calling environment. +unset(ENV{MAKEFLAGS}) |