Skip to content

Commit 79b33e4

Browse files
committed
mx_benchmark (use tee for output capture)
1 parent 945916a commit 79b33e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mx.graalpython/mx_graalpython_benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def interpreter(self):
116116

117117
def run(self, cwd, args):
118118
_check_vm_args(self.name(), args)
119-
stdout_capture = mx.OutputCapture()
119+
stdout_capture = mx.TeeOutputCapture(mx.OutputCapture())
120120
ret_code = mx.run([self.interpreter] + args, out=stdout_capture, err=stdout_capture)
121121
print(stdout_capture.data)
122122
return ret_code, stdout_capture.data

0 commit comments

Comments
 (0)