Skip to content

Commit 8c266ee

Browse files
committed
testrunner: Location of junit output now correct
1 parent be0e39d commit 8c266ee

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

test/testrunner.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,10 @@ def wait_status(self):
162162
# Start and wait for the process
163163
self.proc_.communicate()
164164

165-
os.chdir(startdir + "/" + self.path_)
166-
with open('log_stdout.log', 'r') as log_stdout:
165+
with open('{}/log_stdout.log'.format(self.path_), 'r') as log_stdout:
167166
self.output_.append(log_stdout.read())
168167

169-
with open('log_stderr.log', 'r') as log_stderr:
168+
with open('{}/log_stderr.log'.format(self.path_), 'r') as log_stderr:
170169
self.output_.append(log_stderr.read())
171170

172171

0 commit comments

Comments
 (0)