Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimanshi Kalra <calra>2020-12-17 18:14:55 +0300
committerHimanshi Kalra <himanshikalra98@gmail.com>2020-12-17 18:28:20 +0300
commite7b698327cd91b371ff4fd43d1c117637224fded (patch)
treeee17716640f1b1133ae2ab4ca65cd92a63d09f15 /tests/python/CMakeLists.txt
parentfed995ced5b0b963bb42de5aa3e93a3c5dc91aac (diff)
Updated and extended Regression Testing frameworks (Gsoc 2020)
This revision contains the following changes- - Updated the existing testing framework for Modifiers for Regression Testing. - Tests for Physics modifiers and remaining Generate and Deform modifiers are added. - The existing `ModifierSpec` is updated with backward compatibility to support Physics Modifiers. - Now there is support for frame number and giving nested parameters for attributes. - Some Deform modifiers required Object Operators, e.g. "Bind" in Mesh Deform, so a new class was added to support that functionality. - A separate class for holding Particles System, they are tested by converting all the particles to mesh and joining it to the mesh they were added. - Updated the format to add tests for Bevel, Boolean and Operators as well. Reviewed By: zazizizou, mont29, campbellbarton Differential Revision: https://developer.blender.org/D8507
Diffstat (limited to 'tests/python/CMakeLists.txt')
-rw-r--r--tests/python/CMakeLists.txt42
1 files changed, 42 insertions, 0 deletions
diff --git a/tests/python/CMakeLists.txt b/tests/python/CMakeLists.txt
index 97f5df3ec09..bf949d66286 100644
--- a/tests/python/CMakeLists.txt
+++ b/tests/python/CMakeLists.txt
@@ -205,6 +205,48 @@ add_blender_test(
)
add_blender_test(
+ physics_dynamic_paint
+ ${TEST_SRC_DIR}/physics/dynamic_paint_test.blend
+ --python ${TEST_PYTHON_DIR}/physics_dynamic_paint.py
+ --
+ --run-all-tests
+)
+
+add_blender_test(
+ deform_modifiers
+ ${TEST_SRC_DIR}/modeling/deform_modifiers.blend
+ --python ${TEST_PYTHON_DIR}/deform_modifiers.py
+ --
+ --run-all-tests
+)
+
+add_blender_test(
+ physics_ocean
+ ${TEST_SRC_DIR}/physics/ocean_test.blend
+ --python ${TEST_PYTHON_DIR}/physics_ocean.py
+ --
+ --run-all-tests
+)
+
+
+add_blender_test(
+ physics_particle_system
+ ${TEST_SRC_DIR}/physics/physics_particle_test.blend
+ --python ${TEST_PYTHON_DIR}/physics_particle_system.py
+ --
+ --run-all-tests
+)
+
+# Particle Instance disabling currently broken in master
+# add_blender_test(
+# physics_particle_instance
+# ${TEST_SRC_DIR}/physics/physics_particle_instance.blend
+# --python ${TEST_PYTHON_DIR}/physics_particle_instance.py
+# --
+# --run-all-tests
+# )
+
+add_blender_test(
constraints
--python ${CMAKE_CURRENT_LIST_DIR}/bl_constraints.py
--