]> granicus.if.org Git - clang/commitdiff
Revert "[analyzer] Disable diagnostic checking on the buildbot."
authorJordan Rose <jordan_rose@apple.com>
Fri, 31 Aug 2012 00:36:30 +0000 (00:36 +0000)
committerJordan Rose <jordan_rose@apple.com>
Fri, 31 Aug 2012 00:36:30 +0000 (00:36 +0000)
This reverts commit befc0f648c83f65e1f3567f2058c7c18b4bc3ad8 now that
plist-html diagnostics are working again.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162966 91177308-0d34-0410-b5e6-96231b3b80d8

utils/analyzer/SATestBuild.py

index 5fbfd41ef4d96471e904282913e2d581e1ecf566..bf9153543c31b5f6e67e019962e6eb970335dff8 100755 (executable)
@@ -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))