diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2014-02-02 22:29:08 +0400 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2014-02-02 22:29:55 +0400 |
commit | 44b71c8c6cf9b6705f375d2198454e73d3ebd188 (patch) | |
tree | 541e8748d995aa7fede43b53b7fb22470b975d21 /source/tests | |
parent | c11f6abc57e8ff1f9d8b89a43ae474f168a44dd2 (diff) |
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.
Diffstat (limited to 'source/tests')
-rw-r--r-- | source/tests/CMakeLists.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source/tests/CMakeLists.txt b/source/tests/CMakeLists.txt index 1bda9e7ae9e..3af88657dd4 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 |