21 lines · plain
1RUN: rm -rf %t.output_dir && mkdir %t.output_dir2RUN: %scan-build -plist-html -o %t.output_dir %clang -S %S/Inputs/single_null_dereference.c \3RUN: | FileCheck %s -check-prefix CHECK-STDOUT4 5// Test combined plist and html output with -plist-html6 7CHECK-STDOUT: scan-build: Using '{{.*}}' for static analysis8CHECK-STDOUT: scan-build: Analysis run complete.9CHECK-STDOUT: scan-build: Analysis results (plist files) deposited in '{{.*}}'10CHECK-STDOUT: scan-build: 1 bug found.11CHECK-STDOUT: scan-build: Run 'scan-view {{.*}}' to examine bug reports.12 13// We expect both html files and the plist files.14RUN: ls %t.output_dir/*/ | FileCheck %s -check-prefix CHECK-FILENAMES15 16CHECK-FILENAMES: index.html17CHECK-FILENAMES-DAG: report-{{.*}}.html18CHECK-FILENAMES-DAG: report-{{.*}}.plist19CHECK-FILENAMES: scanview.css20CHECK-FILENAMES: sorttable.js21