summaryrefslogtreecommitdiff
path: root/tests/CTestCustom.template
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2013-02-03 01:40:26 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2013-02-03 01:40:26 (GMT)
commit44cddd0b3cf69b1e10811f0000c0ddef02c15d58 (patch)
tree536dc65cf43152e3934ac123086afa9d9d648483 /tests/CTestCustom.template
parentb390d54471201731db1158fa21aa54fcef1f7582 (diff)
parente5448f5e69f6d59256ba1816acf2647e808e10db (diff)
Merge branch 'master' of github.com:openscad/openscad into cmake_workaround
Conflicts: tests/virtualfb.sh
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 8ab2f5b..338f4b6 100644
--- a/tests/CTestCustom.template
+++ b/tests/CTestCustom.template
@@ -36,8 +36,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