Home | History | Annotate | Download | only in objects

Lines Matching refs:shell

47   def AddTests(self, shell):
48 """Adds tests from |shell| to this peer.
50 Stops when self.needed_work reaches zero, or when all of shell's tests
53 if shell.shell not in self.shells:
54 self.shells.add(shell.shell)
55 while len(shell.tests) > 0 and self.needed_work > 0:
56 t = shell.tests.pop()
59 shell.total_duration -= t.duration
62 def ForceAddOneTest(self, test, shell):
64 if shell.shell not in self.shells:
65 self.shells.add(shell.shell)
68 shell.total_duration -= test.duration