diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2018-02-27 22:41:34 +0300 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2018-02-27 22:41:34 +0300 |
commit | 450be3b226ad4447dd53ada62ebb46f9fa9f64dd (patch) | |
tree | 5b3f2d0d8e2c1fe67191e6d96887d2d83e89327e /tests/python/collada/CMakeLists.txt | |
parent | 05b5958a7a3bc112695bb9f63728260d595a51f4 (diff) |
Collada: Added tests for Animation export
Diffstat (limited to 'tests/python/collada/CMakeLists.txt')
-rw-r--r-- | tests/python/collada/CMakeLists.txt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/python/collada/CMakeLists.txt b/tests/python/collada/CMakeLists.txt index b42a91329f9..421e4ba7667 100644 --- a/tests/python/collada/CMakeLists.txt +++ b/tests/python/collada/CMakeLists.txt @@ -53,13 +53,14 @@ endif() # ------------------------------------------------------------------------------ # GENERAL PYTHON CORRECTNESS TESTS -macro (COLLADA_TEST module test_name) +macro (COLLADA_TEST module test_name blend_file) add_test( - NAME collada_${test_name} - COMMAND "$<TARGET_FILE:blender>" ${TEST_BLENDER_EXE_PARAMS} ${TEST_SRC_DIR}/collada/${module}/${test_name}.blend - --python ${CMAKE_CURRENT_LIST_DIR}/${module}/test_${test_name}.py -- + NAME collada_${module}_${test_name} + COMMAND "$<TARGET_FILE:blender>" ${TEST_BLENDER_EXE_PARAMS} ${TEST_SRC_DIR}/collada/${module}/${blend_file} + --python ${CMAKE_CURRENT_LIST_DIR}/${module}/test_${module}_${test_name}.py -- --testdir ${TEST_SRC_DIR}/collada/${module} ) endmacro() -COLLADA_TEST(mesh mesh_simple) +COLLADA_TEST(mesh simple mesh_simple.blend) +COLLADA_TEST(animation simple suzannes_parent_inverse.blend) |