From a608313860ff24f0ce45f9bcd7d8f0e25872ec96 Mon Sep 17 00:00:00 2001 From: Habib Gahbiche Date: Thu, 11 Feb 2021 23:07:00 +0530 Subject: 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 --- tests/python/modules/mesh_test.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/python/modules') 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: -- cgit v1.2.3