3 RUN: rm -rf %t.output_dir && mkdir %t.output_dir
4 RUN: %scan-build -plist-html -o %t.output_dir %clang -S %S/Inputs/single_null_dereference.c \
5 RUN: | FileCheck %s -check-prefix CHECK-STDOUT
7 // Test combined plist and html output with -plist-html
9 CHECK-STDOUT: scan-build: Using '{{.*}}' for static analysis
10 CHECK-STDOUT: scan-build: Analysis run complete.
11 CHECK-STDOUT: scan-build: Analysis results (plist files) deposited in '{{.*}}'
12 CHECK-STDOUT: scan-build: 1 bug found.
13 CHECK-STDOUT: scan-build: Run 'scan-view {{.*}}' to examine bug reports.
15 // We expect both html files and the plist files.
16 RUN: ls %t.output_dir/*/ | FileCheck %s -check-prefix CHECK-FILENAMES
18 CHECK-FILENAMES: index.html
19 CHECK-FILENAMES-DAG: report-{{.*}}.html
20 CHECK-FILENAMES-DAG: report-{{.*}}.plist
21 CHECK-FILENAMES: scanview.css
22 CHECK-FILENAMES: sorttable.js