]> granicus.if.org Git - clang/commitdiff
[analyzer] NFC: Prevent multi-file plist test from spamming up the build folder.
authorArtem Dergachev <artem.dergachev@gmail.com>
Fri, 24 May 2019 02:29:18 +0000 (02:29 +0000)
committerArtem Dergachev <artem.dergachev@gmail.com>
Fri, 24 May 2019 02:29:18 +0000 (02:29 +0000)
It was producing an HTML report with a random name on every tests run
and never cleaned those up.

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

test/Analysis/diagnostics/Inputs/expected-plists/plist-multi-file.c.plist
test/Analysis/diagnostics/plist-multi-file.c

index 86c203245d4e7b29b092a1a3b04c9f7797d9ec69..74ccc7903c1f8b8dec5747933b47a10b9544c61e 100644 (file)
    <key>col</key><integer>8</integer>
    <key>file</key><integer>1</integer>
   </dict>
-  <key>HTMLDiagnostics_files</key>
-  <array>
-   <string>report-288847.html</string>
-  </array>
   <key>ExecutedLines</key>
   <dict>
    <key>0</key>
index a70c9aa93537f0e73b56ddbccee7e11297dce5fc..f6ff8097ff0945c59737a1cd39d62dd5967cafe9 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: %clang_analyze_cc1 -analyzer-checker=core -analyzer-output=plist-html -o %t.plist -verify %s
-// RUN: tail -n +11 %t.plist | %diff_plist --ignore-matching-lines=report %S/Inputs/expected-plists/plist-multi-file.c.plist -
+// RUN: %clang_analyze_cc1 -analyzer-checker=core -analyzer-output=plist-multi-file -o %t.plist -verify %s
+// RUN: tail -n +11 %t.plist | %diff_plist %S/Inputs/expected-plists/plist-multi-file.c.plist -
 
 #include "plist-multi-file.h"