Lines Matching refs:retc1
452 retc1 = self._runner1.CompileAndRunTest()
454 self.CheckForDivergence(retc1, retc2)
467 def CheckForDivergence(self, retc1, retc2): argument
474 if retc1 == retc2:
476 if retc1 == RetCode.SUCCESS:
482 self.ReportDivergence(retc1, retc2, is_output_divergence=True)
486 elif retc1 == RetCode.TIMEOUT:
488 elif retc1 == RetCode.NOTCOMPILED:
497 if RetCode.TIMEOUT in (retc1, retc2):
502 if retc1 == RetCode.ERROR and retc2 == RetCode.SUCCESS:
506 self.ReportDivergence(retc1, retc2, is_output_divergence=False)
511 def ReportDivergence(self, retc1, retc2, is_output_divergence): argument
518 print(' divergence in return code: ' + retc1.name + ' vs. ' +
526 if retc1 in BISECTABLE_RET_CODES and retc2 in BISECTABLE_RET_CODES:
527 self.MaybeBisectDivergence(retc1, retc2, is_output_divergence)
530 self.RunReportScript(retc1, retc2, is_output_divergence)
532 def RunReportScript(self, retc1, retc2, is_output_divergence): argument
558 comment += '{0} vs {1}\n'.format(retc1, retc2)
586 def MaybeBisectDivergence(self, retc1, retc2, is_output_divergence): argument
598 self.RunBisectionSearch(bisection_args2, retc1, maybe_output1,