diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2024-11-14 17:30:10 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2024-11-15 15:43:12 +0100 |
commit | 12dc4d3f95a42ac1685bb1d346f512bf0e8d0c0a (patch) | |
tree | edcba4c78c7d8551eb70c1cbb4cee28582e84372 | |
parent | 5dfbdde09d25c3f29df47ac9ce2f19b5c3d096d1 (diff) |
Don't override Robot's output
Change-Id: I4c302f429f8cd87d7becee2bc4e4c5b1e2112ecb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 10a748dd2a3abbc8a0b63cb6879ecce3fa63f1fd)
-rw-r--r-- | xtesting/core/robotframework.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 |