diff options
author | don bright <hugh.m.bright@gmail.com> | 2013-02-03 01:40:26 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2013-02-03 01:40:26 (GMT) |
commit | 44cddd0b3cf69b1e10811f0000c0ddef02c15d58 (patch) | |
tree | 536dc65cf43152e3934ac123086afa9d9d648483 /tests/CTestCustom.template | |
parent | b390d54471201731db1158fa21aa54fcef1f7582 (diff) | |
parent | e5448f5e69f6d59256ba1816acf2647e808e10db (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.template | 6 |
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() |