Commit: 5af854353a4ff2b2feee8f7fe5c5159d3c0dd336
Author: Habib Gahbiche
Date:   Thu Feb 11 23:07:00 2021 +0530
Branches: pygpu_extensions
https://developer.blender.org/rB5af854353a4ff2b2feee8f7fe5c5159d3c0dd336

Mesh automated testing: improve progress printing

Print number of total tests with each test to show how many tests have been 
executed and how many are left.
Example: `Running test 27/36: PlaneFaceSplitByEdges...`

Reviewed By: calra, mont29

Differential Revision: https://developer.blender.org/D10278

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

M       tests/python/modules/mesh_test.py

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

diff --git a/tests/python/modules/mesh_test.py 
b/tests/python/modules/mesh_test.py
index a58b803b22d..020b1bff08f 100644
--- a/tests/python/modules/mesh_test.py
+++ b/tests/python/modules/mesh_test.py
@@ -662,8 +662,7 @@ class RunTest:
             test_name = each_test.test_name
             if self.verbose:
                 print()
-                print("Running test {}...".format(test_number))
-                print("Test name {}\n".format(test_name))
+                print("Running test {}/{}: {}...".format(test_number+1, 
len(self.tests), test_name))
             success = self.run_test(test_name)
 
             if not success:

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to