[Bf-blender-cvs] [44b71c8] master: Added bevel regression test to tests.

Howard Trickey noreply at git.blender.org
Sun Feb 2 19:33:05 CET 2014


Commit: 44b71c8c6cf9b6705f375d2198454e73d3ebd188
Author: Howard Trickey
Date:   Sun Feb 2 13:29:08 2014 -0500
https://developer.blender.org/rB44b71c8c6cf9b6705f375d2198454e73d3ebd188

Added bevel regression test to tests.

Goes with companion files bevel_regression.blend
and mesh_ops_test.py just added to svn lib/tests/modeling.

Also changed the blender executable path for Apple case:
needed either 'Debug' or 'Release' in the path. I chose
'Debug', because not sure how to add otherwise. At any
rate, what was currently there didn't work at all.

===================================================================

M	source/tests/CMakeLists.txt

===================================================================

diff --git a/source/tests/CMakeLists.txt b/source/tests/CMakeLists.txt
index 1bda9e7..3af8865 100644
--- a/source/tests/CMakeLists.txt
+++ b/source/tests/CMakeLists.txt
@@ -35,7 +35,7 @@ execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory ${TEST_OUT_DIR})
 
 # all calls to blender use this
 if(APPLE)
-	set(TEST_BLENDER_EXE ${EXECUTABLE_OUTPUT_PATH}/blender.app/Contents/MacOS/blender)
+	set(TEST_BLENDER_EXE ${EXECUTABLE_OUTPUT_PATH}/Debug/blender.app/Contents/MacOS/blender)
 else()
 	set(TEST_BLENDER_EXE ${EXECUTABLE_OUTPUT_PATH}/blender)
 endif()
@@ -69,6 +69,13 @@ add_test(script_pyapi_mathutils ${TEST_BLENDER_EXE}
 )
 
 # ------------------------------------------------------------------------------
+# MODELING TESTS
+add_test(bevel ${TEST_BLENDER_EXE}
+	${TEST_SRC_DIR}/modeling/bevel_regression.blend
+	--python-text run_tests
+)
+
+# ------------------------------------------------------------------------------
 # IO TESTS
 
 # OBJ Import tests




More information about the Bf-blender-cvs mailing list