Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions mx.jruby/mx_jruby.py
Original file line number Diff line number Diff line change
@@ -549,10 +549,8 @@ def benchmarks(self):
if name.endswith('.rb'):
benchmark_file = os.path.join(root, name)[len(all_ruby_benchmarks)+1:]
out = mx.OutputCapture()
if jt(['benchmark', 'list', benchmark_file], out=out):
benchmarks.extend([benchmark_file + ':' + b.strip() for b in out.data.split('\n') if len(b.strip()) > 0])
else:
sys.stderr.write(out.data)
jt(['benchmark', 'list', benchmark_file], out=out)
benchmarks.extend([benchmark_file + ':' + b.strip() for b in out.data.split('\n') if len(b.strip()) > 0])
return benchmarks

def time(self):

0 comments on commit 3071687

Please sign in to comment.