[RISCV][NFC] Remove Redundant Inline Asm Logic (#124202)
[llvm-project.git] / clang / test / Analysis / scan-build / rebuild_index / rebuild_index.test
blob711a74f3fd02bd62b6c7cbff290b79dc182bc04f
1 RUN: rm -rf %t.output_dir && mkdir %t.output_dir
2 RUN: cp %S/report-1.html %t.output_dir
3 RUN: cp %S/report-2.html %t.output_dir
4 RUN: mkdir %t.output_dir/subdirectory
5 RUN: cp %S/subdirectory/report-3.html %t.output_dir/subdirectory
7 RUN: %scan-build --generate-index-only %t.output_dir
9 RUN: ls %t.output_dir | FileCheck -check-prefix CHECK-FILES %s
11 CHECK-FILES:      index.html
12 CHECK-FILES-NEXT: report-1.html
13 CHECK-FILES-NEXT: report-2.html
14 CHECK-FILES-NEXT: scanview.css
15 CHECK-FILES-NEXT: sorttable.js
16 CHECK-FILES-NEXT: subdirectory
18 RUN: ls %t.output_dir/subdirectory | FileCheck -check-prefix CHECK-SUB %s
20 CHECK-SUB: report-3.html
22 RUN: cat %t.output_dir/index.html | FileCheck -check-prefix CHECK-INDEX %s
24 CHECK-INDEX:      cat1
25 CHECK-INDEX-NEXT: bug1
26 CHECK-INDEX-NEXT: cat2
27 CHECK-INDEX-NEXT: bug2
28 CHECK-INDEX-NEXT: cat3
29 CHECK-INDEX-NEXT: bug3
31 CHECK-INDEX:     report-1.html#EndPath
32 CHECK-INDEX:     report-2.html#EndPath
33 CHECK-INDEX:     subdirectory/report-3.html#EndPath