@@ -316,9 +316,11 @@ def _vmRun(self, vm, workdir, command, benchmarks, bmSuiteArgs):
316
316
* bms ,
317
317
],
318
318
cwd = workdir ,
319
+ nonZeroIsFatal = False ,
319
320
)
320
321
shutil .copy (join (workdir , json_file ), join (SUITE .dir , "raw_results.json" ))
321
- return retcode , join (workdir , json_file )
322
+ mx .log (f"Return code of benchmark harness: { retcode } " )
323
+ return 0 , join (workdir , json_file )
322
324
323
325
324
326
class PyPySuite (mx_benchmark .TemporaryWorkdirMixin , mx_benchmark .VmBenchmarkSuite ):
@@ -387,9 +389,11 @@ def _vmRun(self, vm, workdir, command, benchmarks, bmSuiteArgs):
387
389
* bms ,
388
390
],
389
391
cwd = workdir ,
392
+ nonZeroIsFatal = False ,
390
393
)
391
394
shutil .copy (join (workdir , json_file ), join (SUITE .dir , "raw_results.json" ))
392
- return retcode , join (workdir , json_file )
395
+ mx .log (f"Return code of benchmark harness: { retcode } " )
396
+ return 0 , join (workdir , json_file )
393
397
394
398
395
399
class NumPySuite (mx_benchmark .TemporaryWorkdirMixin , mx_benchmark .VmBenchmarkSuite ):
@@ -479,15 +483,17 @@ def _vmRun(self, vm, workdir, command, benchmarks, bmSuiteArgs):
479
483
* bms ,
480
484
],
481
485
cwd = benchdir ,
486
+ nonZeroIsFatal = False ,
482
487
)
483
488
484
489
json_file = glob .glob (join (benchdir , "results" , "*" , "*numpy*.json" ))
490
+ mx .log (f"Return code of benchmark harness: { retcode } " )
485
491
if json_file :
486
492
json_file = json_file [0 ]
487
493
shutil .copy (json_file , join (SUITE .dir , "raw_results.json" ))
488
- return retcode , json_file
494
+ return 0 , json_file
489
495
else :
490
- return retcode , ""
496
+ return - 1 , ""
491
497
492
498
493
499
def register_python_benchmarks ():
0 commit comments