]> granicus.if.org Git - clang/commitdiff
[analyzer] Ted fixed the plist-html issue, so the assert can go away.
authorAnna Zaks <ganna@apple.com>
Fri, 24 Aug 2012 21:07:49 +0000 (21:07 +0000)
committerAnna Zaks <ganna@apple.com>
Fri, 24 Aug 2012 21:07:49 +0000 (21:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162598 91177308-0d34-0410-b5e6-96231b3b80d8

utils/analyzer/CmpRuns.py

index c8f05cbcf47415d1dea6e66c01e45a2c55d84730..f2961cf0acf5ab30c803fc003702970e01da5016 100755 (executable)
@@ -146,9 +146,7 @@ def loadResults(path, opts, root = "", deleteEmpty=True):
             for d in data['diagnostics']:
                 # FIXME: Why is this named files, when does it have multiple
                 # files?
-                # TODO: Add the assert back in after we fix the 
-                # plist-html output.
-                # assert len(d['HTMLDiagnostics_files']) == 1
+                assert len(d['HTMLDiagnostics_files']) == 1
                 htmlFiles.append(d.pop('HTMLDiagnostics_files')[0])
         else:
             htmlFiles = [None] * len(data['diagnostics'])