summaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2013-02-02 23:44:25 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2013-02-02 23:44:25 (GMT)
commit1a545b75f6bd05a0eca42e1f797aa4853aca88d6 (patch)
tree40e76f10e64cfddf64123b677e5d15152e09bdb9 /tests/CMakeLists.txt
parenteb30d42b5dd3ed5bb37336ed46a59eabaca81e06 (diff)
workaround cmake 2.8.10 not allowing CTEST_CUSTOM_POST_TEST arguments
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index d2daf43..854fb44 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -569,6 +569,15 @@ set_target_properties(throwntogethertest PROPERTIES COMPILE_FLAGS "-DENABLE_OPEN
target_link_libraries(throwntogethertest tests-offscreen tests-cgal ${OPENCSG_LIBRARY} ${TESTS-CGAL-LIBRARIES} ${GLEW_LIBRARY} ${COCOA_LIBRARY})
#
+# Post-test pretty print
+#
+
+add_executable(test_pretty_print test_pretty_print.cc)
+set_target_properties(test_pretty_print PROPERTIES COMPILE_FLAGS
+ "-DPYBIN=${PYTHON_EXECUTABLE} -DPYSRC=test_pretty_print.py -DBUILDDIR=--builddir=${CMAKE_CURRENT_BINARY_DIR}"
+)
+
+#
# Tags tests as disabled. This is more convenient than removing them manually
# from the lists of filenames
#
contact: Jan Huwald // Impressum