34 lines · plain
1RUN: rm -rf %t.output_dir && mkdir %t.output_dir2RUN: cp %S/report-1.html %t.output_dir3RUN: cp %S/report-2.html %t.output_dir4RUN: mkdir %t.output_dir/subdirectory5RUN: cp %S/subdirectory/report-3.html %t.output_dir/subdirectory6 7RUN: %scan-build --generate-index-only %t.output_dir8 9RUN: ls %t.output_dir | FileCheck -check-prefix CHECK-FILES %s10 11CHECK-FILES: index.html12CHECK-FILES-NEXT: report-1.html13CHECK-FILES-NEXT: report-2.html14CHECK-FILES-NEXT: scanview.css15CHECK-FILES-NEXT: sorttable.js16CHECK-FILES-NEXT: subdirectory17 18RUN: ls %t.output_dir/subdirectory | FileCheck -check-prefix CHECK-SUB %s19 20CHECK-SUB: report-3.html21 22RUN: cat %t.output_dir/index.html | FileCheck -check-prefix CHECK-INDEX %s23 24CHECK-INDEX: cat125CHECK-INDEX-NEXT: bug126CHECK-INDEX-NEXT: cat227CHECK-INDEX-NEXT: bug228CHECK-INDEX-NEXT: cat329CHECK-INDEX-NEXT: bug330 31CHECK-INDEX: report-1.html#EndPath32CHECK-INDEX: report-2.html#EndPath33CHECK-INDEX: subdirectory/report-3.html#EndPath34