[Bf-blender-cvs] [6490eeabd55] soc-2020-testing-frameworks: Updated test file for Cloth and Dynamic Paint to bake less frames
Himanshi Kalra
noreply at git.blender.org
Wed Aug 26 21:16:11 CEST 2020
Commit: 6490eeabd552f44df6e003e58cd80f0e6e20ac55
Author: Himanshi Kalra
Date: Sun Aug 23 21:09:23 2020 +0530
Branches: soc-2020-testing-frameworks
https://developer.blender.org/rB6490eeabd552f44df6e003e58cd80f0e6e20ac55
Updated test file for Cloth and Dynamic Paint to bake less frames
===================================================================
M tests/python/physics_cloth.py
M tests/python/physics_dynamic_paint.py
===================================================================
diff --git a/tests/python/physics_cloth.py b/tests/python/physics_cloth.py
index 7c82aeedf5a..2531650e820 100644
--- a/tests/python/physics_cloth.py
+++ b/tests/python/physics_cloth.py
@@ -31,8 +31,8 @@ def main():
test = [
# Make sure no modifier is added on the test object.
- ["ClothSimple", "testCloth", "expectedCloth",
- [ModifierSpec('Cloth', 'CLOTH', {'settings': {'quality': 5}}, 35)]],
+ ["ClothSimple", "testClothPlane", "expectedClothPlane",
+ [ModifierSpec('Cloth', 'CLOTH', {'settings': {'quality': 5}}, 10)]],
# Not reproducible
# ["ClothPressure", "testObjClothPressure", "expObjClothPressure",
@@ -43,7 +43,7 @@ def main():
# [ModifierSpec('Cloth', 'CLOTH', {'collision_settings': {'use_self_collision': True}}, 67)]],
["ClothSpring", "testTorusClothSpring", "expTorusClothSpring",
- [ModifierSpec('Cloth2', 'CLOTH', {'settings': {'use_internal_springs': True}}, 30)]],
+ [ModifierSpec('Cloth2', 'CLOTH', {'settings': {'use_internal_springs': True}}, 10)]],
]
diff --git a/tests/python/physics_dynamic_paint.py b/tests/python/physics_dynamic_paint.py
index b70f416f495..2ef9d3ab507 100644
--- a/tests/python/physics_dynamic_paint.py
+++ b/tests/python/physics_dynamic_paint.py
@@ -30,10 +30,10 @@ from modules.mesh_test import ModifierTest, ModifierSpec
def main():
test = [
- ["DynamicPaint2", "test", "exp",
+ ["DynamicPaintSimple", "testObjDynamicPaintPlane", "expObjDynamicPaintPlane",
[ModifierSpec('dynamic_paint', 'DYNAMIC_PAINT',
{'ui_type': 'CANVAS',
- 'canvas_settings': {'canvas_surfaces': {'surface_type': 'WAVE', 'frame_end': 50}}}, 50)]],
+ 'canvas_settings': {'canvas_surfaces': {'surface_type': 'WAVE', 'frame_end': 15}}}, 15)]],
]
dynamic_paint_test = ModifierTest(test)
More information about the Bf-blender-cvs
mailing list