aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/core
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2024-11-14 17:30:10 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2024-11-15 15:43:33 +0100
commitebc66c82440852881e7fac9cc8440751cfb3697c (patch)
tree6e6612b3bf0302f71c4d7d9fdaff58551640eb21 /xtesting/core
parent84a47858643e73c87f8a0255595d56999040ec01 (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)
Diffstat (limited to 'xtesting/core')
-rw-r--r--xtesting/core/robotframework.py3
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