aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-08-29 11:26:24 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-08-29 11:27:16 +0200
commit97b050fed328a94919b9251b4b2b0e413a2e7d42 (patch)
treedd2163dbbf6f463fd1ed221265d1dfb603bf2ec5 /xtesting
parent581e5ae75c17c6f9288bf021ee80963d6f8a00af (diff)
Change output dir
It now reads case_name instead of selecting an hardcoded value (robot). Change-Id: I1dfb0daa2eb52f526abdf1664bf5ac36549509a6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'xtesting')
-rw-r--r--xtesting/core/robotframework.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/xtesting/core/robotframework.py b/xtesting/core/robotframework.py
index 4cba7bbb..9865a26f 100644
--- a/xtesting/core/robotframework.py
+++ b/xtesting/core/robotframework.py
@@ -57,9 +57,9 @@ class RobotFramework(testcase.TestCase):
dir_results = "/var/lib/xtesting/results"
def __init__(self, **kwargs):
- self.res_dir = os.path.join(self.dir_results, 'robot')
- self.xml_file = os.path.join(self.res_dir, 'output.xml')
super(RobotFramework, self).__init__(**kwargs)
+ self.res_dir = os.path.join(self.dir_results, self.case_name)
+ self.xml_file = os.path.join(self.res_dir, 'output.xml')
def parse_results(self):
"""Parse output.xml and get the details in it."""