diff options
author | Brad King <brad.king@kitware.com> | 2014-06-23 20:33:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-06-23 20:47:49 (GMT) |
commit | 7abd574798f9900abfe502f3941cffaa774062b1 (patch) | |
tree | c930e472ac4fdb02b18b1ea3743d56013c3e4bf5 /Tests/RunCMake/CommandLine/E_env-no-command1-stderr.txt | |
parent | 0474aa4a78d74f971f6be5d3c4209c46bd6e02e9 (diff) | |
download | CMake-7abd574798f9900abfe502f3941cffaa774062b1.zip CMake-7abd574798f9900abfe502f3941cffaa774062b1.tar.gz CMake-7abd574798f9900abfe502f3941cffaa774062b1.tar.bz2 |
cmake: Add '-E env' command-line tool
Extend the cmake command-line interface to support
cmake -E env [--unset=NAME]... [NAME=VALUE]... COMMAND [ARG]...
This will be useful to run processes with modified environments
without using a shell or a full "cmake -P" script to wrap it.
Extend the RunCMake.CommandLine test to cover success and failure cases.
Inspired-by: Jonathan Bohren <jbo@jhu.edu>
Diffstat (limited to 'Tests/RunCMake/CommandLine/E_env-no-command1-stderr.txt')
-rw-r--r-- | Tests/RunCMake/CommandLine/E_env-no-command1-stderr.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/CommandLine/E_env-no-command1-stderr.txt b/Tests/RunCMake/CommandLine/E_env-no-command1-stderr.txt new file mode 100644 index 0000000..d2efa53 --- /dev/null +++ b/Tests/RunCMake/CommandLine/E_env-no-command1-stderr.txt @@ -0,0 +1 @@ +^cmake -E env: no command given$ |