Lines Matching refs:switches
239 def run_main(self, seconds_per_increment=1.0, switches=None, timer=None): argument
242 if switches is None:
245 args = switches[:]
255 s = self.run_main(switches=['--bad-switch'])
270 s = self.run_main(seconds_per_increment=0.0000025, switches=['-n100'])
274 s = self.run_main(seconds_per_increment=2.0, switches=['-n35'])
279 switches=['-n35', '-s', 'print("CustomSetup")'])
285 switches=['-n35', '-s', 'a = "CustomSetup"', '-s', 'print(a)'])
290 s = self.run_main(seconds_per_increment=60.0, switches=['-r9'])
294 s = self.run_main(seconds_per_increment=60.0, switches=['-r-5'])
299 s = self.run_main(switches=['-h'])
305 s = self.run_main(switches=['-v'])
315 s = self.run_main(seconds_per_increment=0.000_030, switches=['-vv'])
338 switches=['-u', 'sec'])
342 switches=['-u', 'msec'])
346 switches=['-u', 'usec'])
352 switches=['-u', 'parsec'])
358 s = self.run_main(switches=['1/0'])
363 s = self.run_main(switches=['-n1', '1/0'])