aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting
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-14 17:30:10 +0100
commit10a748dd2a3abbc8a0b63cb6879ecce3fa63f1fd (patch)
tree62ffaa4e817098ce527b5037c4b618cd79d64678 /xtesting
parented61c53f85c9dcb5a5a3029c84d50100028d5e63 (diff)
Don't override Robot's output
Change-Id: I4c302f429f8cd87d7becee2bc4e4c5b1e2112ecb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'xtesting')
-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