Skip to content

Commit 169fb8e

Browse files
committed
fix paths to json files
1 parent 8e9c757 commit 169fb8e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mx.graalpython/mx_graalpython_python_benchmarks.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,8 @@ def _vmRun(self, vm, workdir, command, benchmarks, bmSuiteArgs):
317317
],
318318
cwd=workdir,
319319
)
320-
shutil.copy(json_file, join(SUITE.dir, "raw_results.json"))
321-
return retcode, json_file
320+
shutil.copy(join(workdir, json_file), join(SUITE.dir, "raw_results.json"))
321+
return retcode, join(workdir, json_file)
322322

323323

324324
class PyPySuite(mx_benchmark.TemporaryWorkdirMixin, mx_benchmark.VmBenchmarkSuite):
@@ -388,8 +388,8 @@ def _vmRun(self, vm, workdir, command, benchmarks, bmSuiteArgs):
388388
],
389389
cwd=workdir,
390390
)
391-
shutil.copy(json_file, join(SUITE.dir, "raw_results.json"))
392-
return retcode, json_file
391+
shutil.copy(join(workdir, json_file), join(SUITE.dir, "raw_results.json"))
392+
return retcode, join(workdir, json_file)
393393

394394

395395
class NumPySuite(mx_benchmark.TemporaryWorkdirMixin, mx_benchmark.VmBenchmarkSuite):

0 commit comments

Comments
 (0)