Skip to content

Commit de59763

Browse files
committed
Accept if the version string does not fit what we expect for GraalPy benchmarks
1 parent 94f18b7 commit de59763

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mx.graalpython/mx_graalpython_benchmark.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,9 @@ def extract_vm_info(self, args):
274274
# The benchmark data goes back a ways, we modify the reported dims for
275275
# continuity with the historical queries
276276
graalvm_version_match = re.search(r"\(([^\)]+ ((?:\d+\.?)+))\)", out_version)
277+
if not graalvm_version_match:
278+
mx.log(f"Using {out_version} as platform version string input")
279+
graalvm_version_match = [out_version, out_version, out_version]
277280
dims = {
278281
'guest-vm': self.name(),
279282
'guest-vm-config': self.config_name(),

0 commit comments

Comments
 (0)