diff options
author | Himanshi Kalra <calra> | 2020-04-27 17:47:07 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-04-28 13:29:46 +0300 |
commit | b9f422c4be9c27bb47e5305bad2c91901719100e (patch) | |
tree | e4fda61dcabebcab38776feefbf4881181776296 /tests/python/CMakeLists.txt | |
parent | 18e9626e41546489d58f73b4ac88aff057827c6c (diff) |
Tests: add physics tests cloth and softybody
This uses the same framework as automated modifier tests. It adds a physics
modifier, bakes and compares vertex coordinates on the end frame.
Differential Revision: https://developer.blender.org/D7017
Diffstat (limited to 'tests/python/CMakeLists.txt')
-rw-r--r-- | tests/python/CMakeLists.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/python/CMakeLists.txt b/tests/python/CMakeLists.txt index db5d5dcf73b..2d6dc4af40e 100644 --- a/tests/python/CMakeLists.txt +++ b/tests/python/CMakeLists.txt @@ -189,6 +189,22 @@ add_blender_test( ) add_blender_test( + physics_cloth + ${TEST_SRC_DIR}/physics/cloth_test.blend + --python ${TEST_PYTHON_DIR}/physics_cloth.py + -- + --run-all-tests +) + +add_blender_test( + physics_softbody + ${TEST_SRC_DIR}/physics/softbody_test.blend + --python ${TEST_PYTHON_DIR}/physics_softbody.py + -- + --run-all-tests +) + +add_blender_test( constraints --python ${CMAKE_CURRENT_LIST_DIR}/bl_constraints.py -- |