Lines Matching defs:args
923 def log(fmt, args=None):
924 if args:
925 sys.stdout.write(''.join((fmt, '\n')) % args)
1161 args = parser.parse_args()
1162 assert args.single is False or args.multicore is False
1163 if args.single:
1164 args.single = args.single[0]
1199 if args.time == 'medium':
1204 elif args.time == 'long':
1209 elif args.time == 'all':
1231 if args.multicore:
1233 elif args.single:
1242 if args.multicore:
1244 elif not args.single or args.single == method:
1280 if args.multicore:
1299 cmd = [sys.executable, "deccheck.py", "--%s" % args.time, "--single", test]
1316 elif args.single:
1318 log("\nerror: cannot find method \"%s\"" % args.single)