Lines Matching full:args

59       'nanobench args (example: --svgs ~/Desktop/bots/svgs --skps '
111 # Additional args for bots
116 args = parser.parse_args()
117 if not args.basearg:
118 args.basearg = args.extraarg
120 return args
123 def nano_path(args, branch): argument
124 return args.writedir + '/nanobench_' + branch
127 def compile_branch(args, branch): argument
128 print "Compiling branch %s" % args.branch
132 ['ninja', '-C', args.ninjadir, 'nanobench'],
133 ['cp', args.ninjadir + '/nanobench', nano_path(args, branch)]
136 subprocess.check_call(command, cwd=args.skiadir)
139 def compile_modified(args): argument
142 ['ninja', '-C', args.ninjadir, 'nanobench'], cwd=args.skiadir)
144 ['cp', args.ninjadir + '/nanobench', nano_path(args, args.branch)],
145 cwd=args.skiadir)
148 stash_output = subprocess.check_output(['git', 'stash'], cwd=args.skiadir)
153 subprocess.check_call(['gclient', 'sync'], cwd=args.skiadir)
155 ['ninja', '-C', args.ninjadir, 'nanobench'], cwd=args.skiadir)
157 ['cp', args.ninjadir + '/nanobench', nano_path(args, args.baseline)],
158 cwd=args.skiadir)
159 subprocess.check_call(['git', 'stash', 'pop'], cwd=args.skiadir)
161 def compile_nanobench(args): argument
162 if args.branch == 'modified':
163 compile_modified(args)
165 compile_branch(args, args.branch)
166 compile_branch(args, args.baseline)
170 args = parse_args()
174 temp_ab_name = args.writedir + "/" + AB_SCRIPT
177 if not args.no_compile:
178 compile_nanobench(args)
183 args.writedir,
184 args.branch + ("_A" if args.branch == args.baseline else ""),
185 args.baseline + ("_B" if args.branch == args.baseline else ""),
186 nano_path(args, args.branch),
187 nano_path(args, args.baseline),
188 args.extraarg,
189 args.basearg,
190 str(args.reps),
191 "true" if args.skipbase else "false",
192 args.config,
193 str(args.threads if args.config in ["8888", "565"] else 1),
194 "true" if args.noinit else "false"
197 if args.githash:
198 command += ['--githash', args.githash]
199 if args.keys:
200 command += (['--keys'] + args.keys)
202 if args.concise:
205 p = subprocess.Popen(command, cwd=args.skiadir)