From 10a748dd2a3abbc8a0b63cb6879ecce3fa63f1fd Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Ollivier?= Date: Thu, 14 Nov 2024 17:30:10 +0100 Subject: [PATCH] Don't override Robot's output MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I4c302f429f8cd87d7becee2bc4e4c5b1e2112ecb Signed-off-by: Cédric Ollivier --- xtesting/core/robotframework.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xtesting/core/robotframework.py b/xtesting/core/robotframework.py index 92b75930..1f853037 100644 --- a/xtesting/core/robotframework.py +++ b/xtesting/core/robotframework.py @@ -117,7 +117,8 @@ class RobotFramework(testcase.TestCase): self.__logger.exception("Cannot create %s", self.res_dir) return self.EX_RUN_ERROR stream = StringIO() - kwargs["output"] = self.xml_file + if 'output' not in kwargs: + kwargs["output"] = self.xml_file kwargs["log"] = "NONE" kwargs["report"] = "NONE" kwargs["stdout"] = stream -- 2.16.6