diff options
author | Brad King <brad.king@kitware.com> | 2022-02-22 18:05:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-02-22 18:53:26 (GMT) |
commit | c737367e92ef4f1b4cefcc0ead4d3f36ee1cd957 (patch) | |
tree | 542941d2bfabd1ea136898976a5b6251967f235d | |
parent | 787495bb745be11b2c025b6311837527713f125d (diff) | |
download | CMake-c737367e92ef4f1b4cefcc0ead4d3f36ee1cd957.zip CMake-c737367e92ef4f1b4cefcc0ead4d3f36ee1cd957.tar.gz CMake-c737367e92ef4f1b4cefcc0ead4d3f36ee1cd957.tar.bz2 |
Tests: Print p4.log on server failure in CTest.UpdateP4
-rw-r--r-- | Tests/CTestUpdateP4.cmake.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/CTestUpdateP4.cmake.in b/Tests/CTestUpdateP4.cmake.in index 5eef9fb..8a99e67 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 +) |