[Bf-blender-cvs] [28a0ffcfc86] soc-2020-testing-frameworks: Added physics to particle system and particle instance

calra123 noreply at git.blender.org
Fri Aug 21 17:21:30 CEST 2020


Commit: 28a0ffcfc86e8a8cce2445cf324c10fc86184ae8
Author: calra123
Date:   Thu Aug 20 23:04:15 2020 +0530
Branches: soc-2020-testing-frameworks
https://developer.blender.org/rB28a0ffcfc86e8a8cce2445cf324c10fc86184ae8

Added physics to particle system and particle instance

===================================================================

M	tests/python/CMakeLists.txt
M	tests/python/operators.py

===================================================================

diff --git a/tests/python/CMakeLists.txt b/tests/python/CMakeLists.txt
index 7cb3f863d4b..85a1a759a95 100644
--- a/tests/python/CMakeLists.txt
+++ b/tests/python/CMakeLists.txt
@@ -226,7 +226,7 @@ add_blender_test(
 
 
 add_blender_test(
-  particle_system
+  physics_particle_system
   ${TEST_SRC_DIR}/physics/physics_particle_test.blend
   --python ${TEST_PYTHON_DIR}/physics_particle_system.py
   --
@@ -234,7 +234,7 @@ add_blender_test(
 )
 
 add_blender_test(
-  particle_instance
+  physics_particle_instance
   ${TEST_SRC_DIR}/physics/physics_particle_instance.blend
   --python ${TEST_PYTHON_DIR}/physics_particle_instance.py
   --
diff --git a/tests/python/operators.py b/tests/python/operators.py
index 351511e98a3..63e9ef54c34 100644
--- a/tests/python/operators.py
+++ b/tests/python/operators.py
@@ -26,7 +26,7 @@ from random import shuffle, seed
 seed(0)
 
 sys.path.append(os.path.dirname(os.path.realpath(__file__)))
-from modules.mesh_test import OperatorTest, OperatorSpec
+from modules.mesh_test import OperatorTest
 
 # Central vertical loop of Suzanne
 MONKEY_LOOP_VERT = {68, 69, 71, 73, 74, 75, 76, 77, 90, 129, 136, 175, 188, 189, 198, 207,
@@ -157,7 +157,7 @@ def main():
             break
         elif cmd == "--run-test":
             operators_test.apply_modifiers = False
-            name = str(command[i + 1])
+            name = command[i + 1]
             operators_test.run_test(name)
             break



More information about the Bf-blender-cvs mailing list