Skip to content

Commit 28be046

Browse files
committed
Update benchmark name split to allow multiple colon characters
1 parent a28e3da commit 28be046

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mx.truffleruby/mx_truffleruby_benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def runBenchmark(self, benchmark, bmSuiteArgs):
305305
raise AssertionError("Unknown benchmark kind: " + self.config()['kind'])
306306

307307
if ':' in benchmark:
308-
benchmark_file, benchmark_name = benchmark.split(':')
308+
benchmark_file, benchmark_name = benchmark.split(':', 2)
309309
benchmark_names = [benchmark_name]
310310
else:
311311
benchmark_file = benchmark

0 commit comments

Comments
 (0)