r316534 - [Analyzer] [Tests] Remove temporary fields from generated reference results.
George Karpenkov via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 24 16:52:47 PDT 2017
Date: Tue Oct 24 16:52:46 2017
New Revision: 316534
[Analyzer] [Tests] Remove temporary fields from generated reference results.
Pointer to HTML diagnostics is removed (as it is not stored) as well as
the version (as it would be available from the commit message).
--- cfe/trunk/utils/analyzer/SATestBuild.py (original)
+++ cfe/trunk/utils/analyzer/SATestBuild.py Tue Oct 24 16:52:46 2017
@@ -493,6 +493,14 @@ def normalizeReferenceResults(Dir, SBOut
else SourceFile for SourceFile in Data['files']]
Data['files'] = Paths
+ # Remove transient fields which change from run to run.
+ for Diag in Data['diagnostics']:
+ if 'HTMLDiagnostics_files' in Diag:
+ if 'clang_version' in Data:
More information about the cfe-commits