From 99fcfdd9fb913e03b2e6e4cd0764a88cbca88902 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Tue, 20 Dec 2022 12:02:05 -0600 Subject: [PATCH] Tests: Print when mesh test starts, to help debugging crashes --- tests/python/modules/mesh_test.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/python/modules/mesh_test.py b/tests/python/modules/mesh_test.py index b698540c367..1fc685023cb 100644 --- a/tests/python/modules/mesh_test.py +++ b/tests/python/modules/mesh_test.py @@ -238,6 +238,7 @@ class MeshTest(ABC): """ Runs a single test, runs it again if test file is updated. """ + print("\nSTART {} test.".format(self.test_name)) self.create_evaluated_object() self.apply_operations(self.evaluated_object.name) @@ -289,14 +290,14 @@ class MeshTest(ABC): """ Print results for failed test. """ - print("\nFAILED {} test with the following: ".format(self.test_name)) + print("FAILED {} test with the following: ".format(self.test_name)) self._print_result(result) def print_passed_test_result(self, result): """ Print results for passing test. """ - print("\nPASSED {} test successfully.".format(self.test_name)) + print("PASSED {} test successfully.".format(self.test_name)) self._print_result(result) def do_selection(self, mesh: bpy.types.Mesh, select_mode: str, selection, select_history: bool):