[analyzer] Disable diagnostic checking on the buildbot.

Due to recent diagnostic changes, we may generate malformed diagnostics.

llvm-svn: 162940
This commit is contained in:
Anna Zaks 2012-08-30 21:04:09 +00:00
parent 03fac27bab
commit 5e2f0b2151
1 changed files with 8 additions and 6 deletions

View File

@ -351,10 +351,11 @@ def checkBuild(SBOutputDir):
Failures = glob.glob(SBOutputDir + "/*/failures/*.stderr.txt")
TotalFailed = len(Failures);
if TotalFailed == 0:
CleanUpEmptyPlists(SBOutputDir)
Plists = glob.glob(SBOutputDir + "/*/*.plist")
print "Number of bug reports (non empty plist files) produced: %d" %\
len(Plists)
#TODO: Re-enable after diagnostics are fixed.
#CleanUpEmptyPlists(SBOutputDir)
#Plists = glob.glob(SBOutputDir + "/*/*.plist")
#print "Number of bug reports (non empty plist files) produced: %d" %\
# len(Plists)
return;
# Create summary file to display when the build fails.
@ -492,8 +493,9 @@ def testProject(ID, IsScanBuild, IsReferenceBuild=False, Dir=None):
checkBuild(SBOutputDir)
if IsReferenceBuild == False:
runCmpResults(Dir)
# TODO: Re-enable after the diagnostic regressions are fixed.
#if IsReferenceBuild == False:
# runCmpResults(Dir)
print "Completed tests for project %s (time: %.2f)." % \
(ID, (time.time()-TBegin))