aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2024-11-15 20:00:14 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2024-11-15 20:01:21 +0100
commit35d79d2ec85b9d3651424a30b3090f357084974b (patch)
treef505a7d08785d6698434d385e31fcd0b2e55f00d
parent12dc4d3f95a42ac1685bb1d346f512bf0e8d0c0a (diff)
Set xml_file before parsing resultsstable/2024.1
Change-Id: I22a6d0c5224e3ff5c67e8a2e6c805ed82d803495 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 007a1a3acf964ef96ac4d45db12ff58e6277605f)
-rw-r--r--xtesting/core/robotframework.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/xtesting/core/robotframework.py b/xtesting/core/robotframework.py
index 1f853037..1ac1575c 100644
--- a/xtesting/core/robotframework.py
+++ b/xtesting/core/robotframework.py
@@ -119,6 +119,8 @@ class RobotFramework(testcase.TestCase):
stream = StringIO()
if 'output' not in kwargs:
kwargs["output"] = self.xml_file
+ else:
+ self.xml_file = kwargs["output"]
kwargs["log"] = "NONE"
kwargs["report"] = "NONE"
kwargs["stdout"] = stream