summaryrefslogtreecommitdiff
path: root/tests/CTestCustom.template
diff options
context:
space:
mode:
Diffstat (limited to 'tests/CTestCustom.template')
-rw-r--r--tests/CTestCustom.template6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/CTestCustom.template b/tests/CTestCustom.template
index 72e6443..0e51e21 100644
--- a/tests/CTestCustom.template
+++ b/tests/CTestCustom.template
@@ -37,8 +37,10 @@ if( __cmake_system_name__ MATCHES "Linux|BSD")
message("Process ID of vfb: ${VFB_PID}")
endif()
if ("${VFB_DISPLAY}" STREQUAL "" OR "${VFB_PID}" STREQUAL "")
- message("Virtual framebuffer had a problem starting.")
- execute_process("cat virtualfblog")
+ set(VFBLOG "virtualfb.log")
+ message("Virtual framebuffer had a problem starting. Printing ${VFBLOG}")
+ execute_process(COMMAND cat virtualfb.log OUTPUT_VARIABLE VFBLOGTXT)
+ message("Log: ${VFBLOGTXT}")
else()
message("Virtual framebuffer started. DISPLAY=${VFB_DISPLAY}, PID=${VFB_PID}")
endif()
contact: Jan Huwald // Impressum