forked from bartvdbraak/blender
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.
This commit is contained in:
parent
c11f6abc57
commit
44b71c8c6c
@ -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()
|
||||
@ -68,6 +68,13 @@ add_test(script_pyapi_mathutils ${TEST_BLENDER_EXE}
|
||||
--python ${CMAKE_CURRENT_LIST_DIR}/bl_pyapi_mathutils.py
|
||||
)
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# MODELING TESTS
|
||||
add_test(bevel ${TEST_BLENDER_EXE}
|
||||
${TEST_SRC_DIR}/modeling/bevel_regression.blend
|
||||
--python-text run_tests
|
||||
)
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# IO TESTS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user