[SCFToGPU] Convert scf.parallel+scf.reduce to gpu.all_reduce (#122782)
[llvm-project.git] / clang / test / Analysis / scan-build / plist_output.test
blob4d01640bff6eabf7463bb2e6d65c5082401253bd
1 REQUIRES: shell
3 RUN: rm -rf %t.output_dir && mkdir %t.output_dir
4 RUN: %scan-build -plist -o %t.output_dir %clang -S %S/Inputs/single_null_dereference.c \
5 RUN:     | FileCheck %s -check-prefix CHECK-STDOUT
7 // Test plist output
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 '{{.*}}'
13 // We expect a single plist file
14 RUN: ls %t.output_dir/*/ | FileCheck %s -check-prefix CHECK-FILENAMES
16 CHECK-FILENAMES: report-{{.*}}.plist
18 // The report should describe the issue.
19 RUN: cat %t.output_dir/*/report-*.plist \
20 RUN:     | FileCheck %s -check-prefix CHECK-REPORT-PLIST-CONTENTS
22 CHECK-REPORT-PLIST-CONTENTS: <key>type</key><string>Dereference of null pointer</string>