summaryrefslogtreecommitdiff
path: root/tests/CTestCustom.template
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2013-03-28 03:55:51 (GMT)
committerMarius Kintel <marius@kintel.net>2013-03-28 03:55:51 (GMT)
commiteefcd6d0b271642d470cd55bc47d1579d943938e (patch)
tree48f9e4db455879025adb9317b740bfa4b72c2d66 /tests/CTestCustom.template
parentf70578f362c8c2c78036c9de846c20802ac7aa81 (diff)
parentbeff2b1f4811b7f9d2b58bfc6a469a363bc9bfd0 (diff)
Merge branch 'master' into epec-kernel
Conflicts: src/PolySetCGALEvaluator.cc
Diffstat (limited to 'tests/CTestCustom.template')
-rw-r--r--tests/CTestCustom.template14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/CTestCustom.template b/tests/CTestCustom.template
index 338f4b6..fd6ba8b 100644
--- a/tests/CTestCustom.template
+++ b/tests/CTestCustom.template
@@ -1,5 +1,7 @@
# __header__
#
+# Template to build a CTestCustom.cmake file in the build directory.
+#
# This template enables ctest to do things before and after the test runs.
# In our case, 1. Setup a virtual framebuffer, 2. pretty-print results
#
@@ -7,20 +9,18 @@
# words (__word__) are replaced with the cmake build dir/etc, at the time that
# cmake itself is run. Typically these are signified by two underscores (__)
# before and after the word in smallcase.
-#
-# The file then becomes CTestCustom.cmake inside the cmake build
-# directory. It is 'run' at the time that ctest is run.
-
-# Part 0. X11 and Virtual Framebuffer, for Linux/BSD. This is not used by
-# Windows or Mac because they have alternate means of accessing OpenGL.
+# Part 0. X11 and Virtual Framebuffer, for headless Linux/BSD systems.
+# This is not used by Windows or Mac because they have alternate means
+# of accessing OpenGL.
set(debug_openscad_template 0)
if( __cmake_system_name__ MATCHES "Linux|BSD")
set(DISPLAY_ENV $ENV{DISPLAY})
if(DISPLAY_ENV)
- message("X11 DISPLAY environment variable found. Assuming framebuffer exists at DISPLAY=${DISPLAY_ENV}")
+ message("X11 DISPLAY environment variable found.")
+ message("Assuming framebuffer exists at DISPLAY=${DISPLAY_ENV}")
else()
message("X11 DISPLAY environment variable not found. Calling virtualfb.sh")
execute_process(
contact: Jan Huwald // Impressum