From 44b71c8c6cf9b6705f375d2198454e73d3ebd188 Mon Sep 17 00:00:00 2001 From: Howard Trickey Date: Sun, 2 Feb 2014 13:29:08 -0500 Subject: [PATCH] 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. --- source/tests/CMakeLists.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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() @@ -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