From c737367e92ef4f1b4cefcc0ead4d3f36ee1cd957 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 22 Feb 2022 13:05:28 -0500 Subject: Tests: Print p4.log on server failure in CTest.UpdateP4 --- Tests/CTestUpdateP4.cmake.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 +) -- cgit v0.12