Home | History | Annotate | Download | only in coverity

Lines Matching refs:options

20 For a full list of options, pass the '--help' switch.
105 def run_coverity(options, args):
109 lock_filename = os.path.join(options.source_dir, LOCK_FILE)
120 options.target = options.target.title()
124 print 'Change directory to ' + options.source_dir
125 os.chdir(options.source_dir)
130 coverity_password = _ReadPassword(options.coverity_password_file)
133 gclient_exit = _RunCommand(cmd, options.dry_run, shell=True)
143 rm_path = os.path.join(options.source_dir,'src','out',options.target)
145 rm_path = os.path.join(options.source_dir,options.solution_dir,
146 options.target)
148 rm_path = os.path.join(options.source_dir,'src','xcodebuild')
154 if options.dry_run:
159 if options.preserve_intermediate_dir:
162 if options.dry_run:
163 print 'shutil.rmtree(%s)' % repr(options.coverity_intermediate_dir)
164 print 'os.mkdir(%s)' % repr(options.coverity_intermediate_dir)
166 shutil.rmtree(options.coverity_intermediate_dir,True)
167 os.mkdir(options.coverity_intermediate_dir)
175 _RunCommand('pwd', options.dry_run, shell=True)
177 options.coverity_bin_dir, options.coverity_intermediate_dir,
178 options.target)
182 options.coverity_bin_dir, options.coverity_intermediate_dir,
183 options.source_dir, options.solution_file, options.target)
187 _RunCommand('pwd', options.dry_run, shell=True)
190 options.coverity_bin_dir, options.coverity_intermediate_dir,
191 options.target)
194 _RunCommand(cmd, options.dry_run, shell=use_shell_during_make)
197 cov_analyze_exe = os.path.join(options.coverity_bin_dir,'cov-analyze')
199 options.coverity_intermediate_dir,
200 options.coverity_analyze_options)
201 _RunCommand(cmd, options.dry_run, shell=use_shell_during_make)
204 cov_commit_exe = os.path.join(options.coverity_bin_dir,'cov-commit-defects')
211 coverity_target = options.coverity_target
220 options.coverity_intermediate_dir,
221 options.coverity_dbhost,
222 options.coverity_port,
223 options.coverity_product,
225 options.coverity_user,
228 _RunCommand(cmd, options.dry_run, shell=use_shell_during_make, echo_cmd=False)
262 option_parser.add_option('', '--coverity-analyze-options',
264 help=('all cov-analyze options, e.g. "%s"'
303 options, args = option_parser.parse_args()
304 return run_coverity(options, args)