summaryrefslogtreecommitdiff
path: root/Tests/CTestUpdateP4.cmake.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-02-22 13:05:28 -0500
committerBrad King <brad.king@kitware.com>2022-02-22 13:53:26 -0500
commitc737367e92ef4f1b4cefcc0ead4d3f36ee1cd957 (patch)
tree542941d2bfabd1ea136898976a5b6251967f235d /Tests/CTestUpdateP4.cmake.in
parent787495bb745be11b2c025b6311837527713f125d (diff)
downloadcmake-c737367e92ef4f1b4cefcc0ead4d3f36ee1cd957.tar.gz
Tests: Print p4.log on server failure in CTest.UpdateP4
Diffstat (limited to 'Tests/CTestUpdateP4.cmake.in')
-rw-r--r--Tests/CTestUpdateP4.cmake.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/CTestUpdateP4.cmake.in b/Tests/CTestUpdateP4.cmake.in
index 5eef9fbe30..8a99e67f0d 100644
--- a/Tests/CTestUpdateP4.cmake.in
+++ b/Tests/CTestUpdateP4.cmake.in
@@ -66,6 +66,7 @@ for i in 1 2 3 4 5 6 7 8 9 10; do
fi
done
echo 'Gave up waiting for server to start.'
+sed 's/^/ /' '${P4_ROOT}/p4.log'
"
)
endif()
@@ -258,4 +259,4 @@ message("Shutting down p4d")
run_child(
WORKING_DIRECTORY ${TOP}
COMMAND ${P4CMD} admin stop
-) \ No newline at end of file
+)