diff --git a/render_machine/actions/run_conformance_tests.py b/render_machine/actions/run_conformance_tests.py index 6f72f1d..3c7bb1f 100644 --- a/render_machine/actions/run_conformance_tests.py +++ b/render_machine/actions/run_conformance_tests.py @@ -40,7 +40,7 @@ def execute(self, render_context: RenderContext, _previous_action_payload: Any | + f"in module {render_context.conformance_tests_running_context.current_testing_module_name}" + ")." ) - exit_code, conformance_tests_issue, conformance_tests_temp_file_path = render_utils.execute_script( + exit_code, conformance_tests_issue, conformance_tests_temp_log_file_path = render_utils.execute_script( conformance_tests_script, [render_context.build_folder, conformance_tests_folder_name], "Conformance Tests", @@ -49,7 +49,9 @@ def execute(self, render_context: RenderContext, _previous_action_payload: Any | timeout=render_context.test_script_timeout, stop_event=render_context.stop_event, ) - render_context.script_execution_history.latest_conformance_test_output_path = conformance_tests_temp_file_path + render_context.script_execution_history.latest_conformance_test_output_path = ( + conformance_tests_temp_log_file_path + ) render_context.script_execution_history.should_update_script_outputs = True render_context.memory_manager.create_conformance_tests_memory( diff --git a/render_machine/actions/run_unit_tests.py b/render_machine/actions/run_unit_tests.py index f664244..79e29db 100644 --- a/render_machine/actions/run_unit_tests.py +++ b/render_machine/actions/run_unit_tests.py @@ -21,7 +21,7 @@ def execute(self, render_context: RenderContext, _previous_action_payload: Any | console.info( f"Running unit tests script {unittests_script}. (attempt: {render_context.unit_tests_running_context.fix_attempts + 1})" ) - exit_code, unittests_issue, unittests_temp_file_path = render_utils.execute_script( + exit_code, unittests_issue, unittests_temp_log_file_path = render_utils.execute_script( unittests_script, [render_context.build_folder], "Unit Tests", @@ -29,7 +29,7 @@ def execute(self, render_context: RenderContext, _previous_action_payload: Any | stop_event=render_context.stop_event, ) - render_context.script_execution_history.latest_unit_test_output_path = unittests_temp_file_path + render_context.script_execution_history.latest_unit_test_output_path = unittests_temp_log_file_path render_context.script_execution_history.should_update_script_outputs = True if exit_code == 0: return self.SUCCESSFUL_OUTCOME, None