Lines Matching refs:switches
216 def run_main(self, seconds_per_increment=1.0, switches=None, timer=None): argument
219 if switches is None:
222 args = switches[:]
232 s = self.run_main(switches=['--bad-switch'])
247 s = self.run_main(seconds_per_increment=0.0000025, switches=['-n100'])
251 s = self.run_main(seconds_per_increment=2.0, switches=['-n35'])
256 switches=['-n35', '-s', 'print("CustomSetup")'])
261 s = self.run_main(seconds_per_increment=60.0, switches=['-r9'])
265 s = self.run_main(seconds_per_increment=60.0, switches=['-r-5'])
270 s = self.run_main(switches=['-h'])
275 s = self.run_main(switches=['-t'], timer=fake_timer)
281 s = self.run_main(switches=['-c'], timer=fake_timer)
286 s = self.run_main(switches=['-v'])
294 s = self.run_main(seconds_per_increment=0.000050, switches=['-vv'])
306 s = self.run_main(switches=['1.0/0.0'])
311 s = self.run_main(switches=['-n1', '1.0/0.0'])