From f6ec0a91a2cc5a7cb3e1724bbbc077e261a9797d Mon Sep 17 00:00:00 2001 From: "kjellander@webrtc.org" Date: Mon, 14 May 2012 14:18:53 +0000 Subject: [PATCH] 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 --- tools/coverity/coverity.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/coverity/coverity.py b/tools/coverity/coverity.py index 84b95bc824..0eb57c3484 100755 --- a/tools/coverity/coverity.py +++ b/tools/coverity/coverity.py @@ -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':