Exemplo n.º 1
0
 def endPhase(self, phase):
     Infrastructure.endPhase(self, phase)
     if phase == PHASE_CHECK_SCORBOARDS:
         if (not self.refs.empty()) or (not self.uuts.empty()):
             raise TestFailure("Scoreboard not empty")
Exemplo n.º 2
0
 def endPhase(self, phase):
     Infrastructure.endPhase(self, phase)
     if phase == PHASE_CHECK_SCORBOARDS:
         if len(self.refsDic) != 0 or len(self.uutsDic) != 0:
             raise TestFailure("Scoreboard not empty")