summaryrefslogtreecommitdiff
path: root/Tests/CTestUpdateCommon.cmake
diff options
context:
space:
mode:
authorZack Galbreath <zack.galbreath@kitware.com>2015-02-17 11:45:46 -0500
committerBrad King <brad.king@kitware.com>2015-02-23 10:01:59 -0500
commit645ad117e1c8b3b99fda128daad708a87c0a3f2e (patch)
tree7a8c3cbccd0cdc6db300ddfb7a8e5936b95d20d4 /Tests/CTestUpdateCommon.cmake
parent19d1a5599a08f2e8d74c4483cb9ee6d34e38ecba (diff)
downloadcmake-645ad117e1c8b3b99fda128daad708a87c0a3f2e.tar.gz
ctest_update: Add QUIET option
Diffstat (limited to 'Tests/CTestUpdateCommon.cmake')
-rw-r--r--Tests/CTestUpdateCommon.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/CTestUpdateCommon.cmake b/Tests/CTestUpdateCommon.cmake
index 97153f0f94..77b33989a8 100644
--- a/Tests/CTestUpdateCommon.cmake
+++ b/Tests/CTestUpdateCommon.cmake
@@ -13,6 +13,9 @@ function(run_child)
message(FATAL_ERROR "Child failed (${FAILED}), output is\n ${OUTPUT}\n"
"Command = [${ARGN}]\n")
endif()
+
+ # Pass output back up to the parent scope for possible further inspection.
+ set(OUTPUT "${OUTPUT}" PARENT_SCOPE)
endfunction()
#-----------------------------------------------------------------------------
@@ -269,6 +272,9 @@ function(run_dashboard_script bin_dir)
Updated{subdir/bar.txt}
)
endif()
+
+ # Pass console output up to the parent, in case they'd like to inspect it.
+ set(OUTPUT "${OUTPUT}" PARENT_SCOPE)
endfunction()
#-----------------------------------------------------------------------------