Revert "[analyzer] Disable diagnostic checking on the buildbot."
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
diff --git a/utils/analyzer/SATestBuild.py b/utils/analyzer/SATestBuild.py
index 5fbfd41..bf91535 100755
--- a/utils/analyzer/SATestBuild.py
+++ b/utils/analyzer/SATestBuild.py
@@ -351,11 +351,10 @@
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 @@
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))