summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/execute_process/ExitValues-stdout.txt
diff options
context:
space:
mode:
authorAdam Weisi <adam.weisi@intel.com>2017-04-13 17:10:04 (GMT)
committerBrad King <brad.king@kitware.com>2017-06-10 12:03:06 (GMT)
commitd6051ca39e2ac8e5afc8f6308fd1bda7d1e8c17b (patch)
tree231f86c5da5035fb62d94c2484de56785b3bf968 /Tests/RunCMake/execute_process/ExitValues-stdout.txt
parentc095e90f3af78fb3421c80b725ebc6ad9ec85999 (diff)
downloadCMake-d6051ca39e2ac8e5afc8f6308fd1bda7d1e8c17b.zip
CMake-d6051ca39e2ac8e5afc8f6308fd1bda7d1e8c17b.tar.gz
CMake-d6051ca39e2ac8e5afc8f6308fd1bda7d1e8c17b.tar.bz2
execute_process: Add option to get results of every child
Add a `RESULTS_VARIABLE` option to get the results of all children in a pipeline of one or more `COMMAND`s.
Diffstat (limited to 'Tests/RunCMake/execute_process/ExitValues-stdout.txt')
-rw-r--r--Tests/RunCMake/execute_process/ExitValues-stdout.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/Tests/RunCMake/execute_process/ExitValues-stdout.txt b/Tests/RunCMake/execute_process/ExitValues-stdout.txt
new file mode 100644
index 0000000..3bcaf46
--- /dev/null
+++ b/Tests/RunCMake/execute_process/ExitValues-stdout.txt
@@ -0,0 +1,14 @@
+^-- 1 - 1 RESULT_VARIABLE: 0
+-- 1 - 2 RESULT_VARIABLE: [^0].*
+-- 2 - 1 RESULT_VARIABLE: 0
+-- 2 - 1 RESULTS_VARIABLE: 0
+-- 2 - 2 RESULT_VARIABLE: [^0].*
+-- 2 - 2 RESULTS_VARIABLE: [^0].*
+-- 3 - 1 RESULTS_VARIABLE: 0
+-- 3 - 2 RESULTS_VARIABLE: [^0].*
+-- 4 - 1 RESULT_VARIABLE: 0
+-- 4 - 1 RESULTS_VARIABLE: [^0].*;0;[^0].*;0;[^0].*;0
+-- 4 - 1 RESULTS_VARIABLE_LENGTH: 6
+-- 5 - 1 RESULT_VARIABLE: [^0].*
+-- 5 - 1 RESULTS_VARIABLE: 0;0;[^0].*
+-- 5 - 1 RESULTS_VARIABLE_LENGTH: 3$