@@ -571,7 +571,7 @@ def _vmRun(self, vm, workdir, command, benchmarks, bmSuiteArgs):
571
571
mx .log (f"Return code of benchmark harness: { retcode } " )
572
572
shutil .copy (join (workdir , json_file ), join (SUITE .dir , "raw_results.json" ))
573
573
shutil .copy (join (workdir , json_file_memory ), join (SUITE .dir , "raw_results_memory.json" ))
574
- return 0 , "," .join ([join (workdir , json_file ), join (workdir , json_file_memory )])
574
+ return retcode , "," .join ([join (workdir , json_file ), join (workdir , json_file_memory )])
575
575
576
576
577
577
class PyPySuite (PySuite ):
@@ -652,7 +652,7 @@ def _vmRun(self, vm, workdir, command, benchmarks, bmSuiteArgs):
652
652
)
653
653
shutil .copy (join (workdir , json_file ), join (SUITE .dir , "raw_results.json" ))
654
654
mx .log (f"Return code of benchmark harness: { retcode } " )
655
- return 0 , join (workdir , json_file )
655
+ return retcode , join (workdir , json_file )
656
656
657
657
658
658
class NumPySuite (PySuite ):
@@ -766,7 +766,7 @@ def _vmRun(self, vm, workdir, command, benchmarks, bmSuiteArgs):
766
766
if json_file :
767
767
json_file = json_file [0 ]
768
768
shutil .copy (json_file , join (SUITE .dir , "raw_results.json" ))
769
- return 0 , json_file
769
+ return retcode , json_file
770
770
else :
771
771
return - 1 , ""
772
772
@@ -906,7 +906,7 @@ def _vmRun(self, vm, workdir, command, benchmarks, bmSuiteArgs):
906
906
if json_file :
907
907
json_file = json_file [0 ]
908
908
shutil .copy (json_file , join (SUITE .dir , "raw_results.json" ))
909
- return 0 , json_file
909
+ return retcode , json_file
910
910
else :
911
911
return - 1 , ""
912
912
0 commit comments