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