Skip to content

Commit 23a9709

Browse files
committed
[GR-17457] Update benchmark name split to allow multiple colon characters
PullRequest: truffleruby/2647
2 parents 377cfd7 + 28be046 commit 23a9709

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)