From 7ac5283327129c6469396c4b3f0b4175737e3f7e Mon Sep 17 00:00:00 2001 From: Artem Dergachev Date: Fri, 24 May 2019 02:29:18 +0000 Subject: [PATCH] [analyzer] NFC: Prevent multi-file plist test from spamming up the build folder. 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 --- .../Inputs/expected-plists/plist-multi-file.c.plist | 4 ---- test/Analysis/diagnostics/plist-multi-file.c | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/test/Analysis/diagnostics/Inputs/expected-plists/plist-multi-file.c.plist b/test/Analysis/diagnostics/Inputs/expected-plists/plist-multi-file.c.plist index 86c203245d..74ccc7903c 100644 --- a/test/Analysis/diagnostics/Inputs/expected-plists/plist-multi-file.c.plist +++ b/test/Analysis/diagnostics/Inputs/expected-plists/plist-multi-file.c.plist @@ -184,10 +184,6 @@ col8 file1 - HTMLDiagnostics_files - - report-288847.html - ExecutedLines 0 diff --git a/test/Analysis/diagnostics/plist-multi-file.c b/test/Analysis/diagnostics/plist-multi-file.c index a70c9aa935..f6ff8097ff 100644 --- a/test/Analysis/diagnostics/plist-multi-file.c +++ b/test/Analysis/diagnostics/plist-multi-file.c @@ -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" -- 2.40.0