Tests: Protect RunCMake tests from MAKEFLAGS in environment (#15542)

This commit is contained in:
Brad King 2015-04-29 16:13:50 -04:00
parent 036e449c66
commit 703e762529
1 changed files with 3 additions and 0 deletions

View File

@ -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})