Making Coverity Static Analyzer run properly on Windows
BUG=None TEST=Tested on main Coverity server and a Windows machine running Static Analyzer. Review URL: https://webrtc-codereview.appspot.com/579004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2235 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
4e7840d943
commit
f6ec0a91a2
@ -82,7 +82,7 @@ COVERITY_REMOTE = 'localhost'
|
||||
|
||||
COVERITY_PORT = '8080'
|
||||
|
||||
COVERITY_STREAM = 'trunk'
|
||||
COVERITY_STREAM = 'WebRTC-Windows-7-x64'
|
||||
|
||||
COVERITY_TARGET = 'Windows'
|
||||
|
||||
@ -144,7 +144,7 @@ def run_coverity(options, args):
|
||||
# the time to read the password is after we do the chdir().
|
||||
coverity_password = _ReadPassword(options.coverity_password_file)
|
||||
|
||||
cmd = 'gclient sync'
|
||||
cmd = 'gclient sync --force'
|
||||
gclient_exit = _RunCommand(cmd, options.dry_run, shell=True)
|
||||
if gclient_exit != 0:
|
||||
print 'gclient aborted with status %s' % gclient_exit
|
||||
@ -192,7 +192,7 @@ def run_coverity(options, args):
|
||||
options.target)
|
||||
elif sys.platform == 'win32':
|
||||
cmd = ('%s\\cov-build.exe --dir %s devenv.com %s\\%s /build %s '
|
||||
'/project webrtc.vcproj') % (
|
||||
'/project All.vcproj') % (
|
||||
options.coverity_bin_dir, options.coverity_intermediate_dir,
|
||||
options.source_dir, options.solution_file, options.target)
|
||||
elif sys.platform == 'darwin':
|
||||
|
Loading…
x
Reference in New Issue
Block a user