CMake/Tests/RunCMake/execute_process/EchoCommand2-stderr.txt
Bill Hoffman 044dcf9f8d execute_process: Add option to echo command lines
Add COMMAND_ECHO option to the execute_process command. This will allow
execute_process to show the command it will run. Also add a cmake variable
CMAKE_EXECUTE_PROCESS_COMMAND_ECHO. Both the option and the variable can
be set to one of the following: STDERR|STDOUT|NONE. The command will be
printed to stderr or stdout or not at all.

Fixes: #18933
2019-04-19 13:32:08 -04:00

6 lines
295 B
Plaintext

.*cmake.*-E' 'echo' '-- 2 COMMAND_ECHO STDERR'
.*cmake.*-E' 'echo' '-- 4 COMMAND_ECHO STDERR'
.*cmake.*-E' 'echo' '-- 8 COMMAND_ECHO STDOUT COMMAND_ECHO STDERR'
CMake Error at .*EchoCommand.cmake:.* \(execute_process\):
called with 'BAD' expected STDERR|STDOUT|NONE for COMMAND_ECHO.$