diff options
author | Habib Gahbiche <zazizizou> | 2021-02-11 20:37:00 +0300 |
---|---|---|
committer | Himanshi Kalra <himanshikalra98@gmail.com> | 2021-02-11 20:37:03 +0300 |
commit | a608313860ff24f0ce45f9bcd7d8f0e25872ec96 (patch) | |
tree | 8757990dbbf243ee0da5333cdec8edbb41da152e /tests/python/modules | |
parent | 916e3b6e3d0c1e881ff6afb845f7dbddede7f8bd (diff) |
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
Diffstat (limited to 'tests/python/modules')
-rw-r--r-- | tests/python/modules/mesh_test.py | 3 |
1 files changed, 1 insertions, 2 deletions
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: |