Revert "[analyzer] Disable diagnostic checking on the buildbot."
This reverts commit befc0f648c83f65e1f3567f2058c7c18b4bc3ad8 now that plist-html diagnostics are working again. llvm-svn: 162966
This commit is contained in:
parent
cc0b1bfa56
commit
9858b12381
|
@ -351,11 +351,10 @@ def checkBuild(SBOutputDir):
|
|||
Failures = glob.glob(SBOutputDir + "/*/failures/*.stderr.txt")
|
||||
TotalFailed = len(Failures);
|
||||
if TotalFailed == 0:
|
||||
#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)
|
||||
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.
|
||||
|
@ -493,9 +492,8 @@ def testProject(ID, IsScanBuild, IsReferenceBuild=False, Dir=None):
|
|||
|
||||
checkBuild(SBOutputDir)
|
||||
|
||||
# TODO: Re-enable after the diagnostic regressions are fixed.
|
||||
#if IsReferenceBuild == False:
|
||||
# runCmpResults(Dir)
|
||||
if IsReferenceBuild == False:
|
||||
runCmpResults(Dir)
|
||||
|
||||
print "Completed tests for project %s (time: %.2f)." % \
|
||||
(ID, (time.time()-TBegin))
|
||||
|
|
Loading…
Reference in New Issue