Lines Matching refs:checkError
53 def checkError(self, args, msg):
69 self.checkError(['--timeout'], 'expected one argument')
70 self.checkError(['--timeout', 'foo'], 'invalid float value')
79 self.checkError(['--worker-args'], 'expected one argument')
86 self.checkError([opt], 'expected one argument')
142 self.checkError(['--randseed'], 'expected one argument')
143 self.checkError(['--randseed', 'foo'], 'invalid int value')
150 self.checkError([opt], 'expected one argument')
151 self.checkError([opt, 'foo', '-s'], "don't go together")
164 self.checkError([opt, '-f', 'foo'], "don't go together")
171 self.checkError([opt], 'expected one argument')
189 self.checkError([opt], 'expected one argument')
213 self.checkError([opt], '-G/--failfast needs either -v or -W')
228 self.checkError([opt], 'expected one argument')
229 self.checkError([opt, 'foo'], 'invalid resource')
245 self.checkError([opt], 'expected one argument')
250 self.checkError(['--testdir'], 'expected one argument')
269 self.checkError([opt], 'expected one argument')
270 self.checkError([opt, '6'],
272 self.checkError([opt, 'foo:'], 'invalid huntrleaks value')
273 self.checkError([opt, '6:foo'], 'invalid huntrleaks value')
280 self.checkError([opt], 'expected one argument')
281 self.checkError([opt, 'foo'], 'invalid int value')
282 self.checkError([opt, '2', '-T'], "don't go together")
283 self.checkError([opt, '0', '-T'], "don't go together")
297 self.checkError([opt], 'expected one argument')
310 self.checkError([opt], 'expected one argument')
311 self.checkError([opt, 'foo'], 'invalid int value')
329 self.checkError(['--xxx'], 'usage:')
362 self.checkError(['--unknown-option'],