From af3ae3cbbd25cf8dd984e263bd318b7852960cf8 Mon Sep 17 00:00:00 2001 From: Anna Zaks Date: Fri, 17 Aug 2012 01:09:13 +0000 Subject: [analyzer] Unbreak the static analyzer buildbot. We no longer associate the correct HTML file with plist diagnostic. Fall out from r162028. llvm-svn: 162071 --- clang/utils/analyzer/CmpRuns.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'clang/utils/analyzer') diff --git a/clang/utils/analyzer/CmpRuns.py b/clang/utils/analyzer/CmpRuns.py index f2961cf0acf..c8f05cbcf47 100755 --- a/clang/utils/analyzer/CmpRuns.py +++ b/clang/utils/analyzer/CmpRuns.py @@ -146,7 +146,9 @@ def loadResults(path, opts, root = "", deleteEmpty=True): for d in data['diagnostics']: # FIXME: Why is this named files, when does it have multiple # files? - assert len(d['HTMLDiagnostics_files']) == 1 + # TODO: Add the assert back in after we fix the + # plist-html output. + # assert len(d['HTMLDiagnostics_files']) == 1 htmlFiles.append(d.pop('HTMLDiagnostics_files')[0]) else: htmlFiles = [None] * len(data['diagnostics']) -- cgit v1.2.3