|
25 | 25 | import platform |
26 | 26 | import re |
27 | 27 | import shutil |
28 | | -import subprocess |
29 | 28 | import sys |
30 | 29 | import tempfile |
31 | 30 | from argparse import ArgumentParser |
|
37 | 36 | import mx_subst |
38 | 37 | import mx_urlrewrites |
39 | 38 | from mx_gate import Task |
| 39 | +from mx_graalpython_bench_param import PATH_MESO |
40 | 40 | from mx_graalpython_benchmark import PythonBenchmarkSuite |
41 | 41 | from mx_unittest import unittest |
42 | 42 |
|
@@ -413,17 +413,16 @@ def is_included(path): |
413 | 413 | with Task('GraalPython GraalVM build', tasks, tags=[GraalPythonTags.downstream, GraalPythonTags.graalvm]) as task: |
414 | 414 | if task: |
415 | 415 | svm_image = python_svm(["--version"]) |
416 | | - benchmark = os.path.join("graalpython", "benchmarks", "src", "benchmarks", "image_magix.py") |
| 416 | + benchmark = os.path.join(PATH_MESO, "image-magix.py") |
417 | 417 | out = mx.OutputCapture() |
418 | 418 | mx.run( |
419 | 419 | [svm_image, benchmark], |
420 | 420 | nonZeroIsFatal=True, |
421 | 421 | out=mx.TeeOutputCapture(out) |
422 | 422 | ) |
423 | 423 | success = "\n".join([ |
424 | | - "[0, 0, 0, 0, 0, 0, 20, 20, 20, 0, 0, 20, 20, 20, 0, 0, 20, 20, 20, 0, 0, 0, 0, 0, 0]", |
425 | | - "[11, 12, 13, 14, 15, 21, 22, 23, 24, 25, 31, 32, 33, 34, 35, 41, 42, 43, 44, 45, 51, 52, 53, 54, 55]", |
426 | | - "[11, 12, 13, 14, 15, 21, 22, 23, 24, 25, 31, 32, 36, 36, 35, 41, 41, 40, 40, 45, 51, 52, 53, 54, 55]"]) |
| 424 | + "[0, 0, 0, 0, 0, 0, 10, 10, 10, 0, 0, 10, 3, 10, 0, 0, 10, 10, 10, 0, 0, 0, 0, 0, 0]", |
| 425 | + ]) |
427 | 426 | if success not in out.data: |
428 | 427 | mx.abort('Output from generated SVM image "' + svm_image + '" did not match success pattern:\n' + success) |
429 | 428 |
|
|
0 commit comments