From e3c02e7a56160887a4801b7dec530d79035510ec Mon Sep 17 00:00:00 2001 From: Florian Uhlig <f.uhlig@gsi.de> Date: Tue, 31 Jan 2023 15:45:10 +0100 Subject: [PATCH] Increase log file size When uploading logs from failed tests, these logs are currently truncated after 102400 bytes. For the long running weekly tests which produces much larger log files it happens that the important part of the log file isn't send to the CDash server. Increase the log file size to 10MB. --- CTestCustom.cmake | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CTestCustom.cmake b/CTestCustom.cmake index 6bf6109bc7..948335080f 100644 --- a/CTestCustom.cmake +++ b/CTestCustom.cmake @@ -3,8 +3,13 @@ message(" -- Read CTestCustom.cmake --") # Maximum size of uploaded test output of failed tests is 100kB +# or 10MB in case of weekly tests # Larger output is cutted -set(CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE "102400") +if(${CBM_TEST_MODEL} MATCHES Weekly) + set(CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE "10240000") +else() + set(CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE "102400") +endif() # Maximum size of uploaded test output of passed tests is 1kB # Larger output is cutted -- GitLab