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
This commit is contained in:
Habib Gahbiche
2021-02-11 23:07:00 +05:30
committed by Himanshi Kalra
parent 916e3b6e3d
commit a608313860

View File

@@ -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: