CTEST_OUTPUT_ON_FAILURE

這是一個 CMake 環境變數。其初始值取自呼叫的進程環境。

Boolean environment variable that controls if the output should be logged for failed tests. Set the value to 1, True, or ON to enable output on failure. See ctest(1) for more information on controlling output of failed tests.