From 9858b12381d0960dc4e8ff80d0a09aa3d4220984 Mon Sep 17 00:00:00 2001 From: Jordan Rose Date: Fri, 31 Aug 2012 00:36:30 +0000 Subject: [PATCH] Revert "[analyzer] Disable diagnostic checking on the buildbot." This reverts commit befc0f648c83f65e1f3567f2058c7c18b4bc3ad8 now that plist-html diagnostics are working again. llvm-svn: 162966 --- clang/utils/analyzer/SATestBuild.py | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/clang/utils/analyzer/SATestBuild.py b/clang/utils/analyzer/SATestBuild.py index 5fbfd41ef4d9..bf9153543c31 100755 --- a/clang/utils/analyzer/SATestBuild.py +++ b/clang/utils/analyzer/SATestBuild.py @@ -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))