Debian Codegraph @

llvm/test/tools/llvm-original-di-preservation/basic.test

raw
1 RUN: %llvm-original-di-preservation %p/Inputs/sample.json --report-html-file %t.html | FileCheck %s
2 RUN: diff -w %p/Inputs/expected-sample.html %t.html
3 CHECK: The {{.+}}.html generated.
4 CHECK-NOT: Skipped lines:
5
6 RUN: %llvm-original-di-preservation %p/Inputs/corrupted.json --report-html-file %t2.html | FileCheck %s -check-prefix=CORRUPTED
7 RUN: diff -w %p/Inputs/expected-skipped.html %t2.html
8 CORRUPTED: Skipped lines: 3
9 CORRUPTED: Skipped bugs: 1
10
11 RUN: %llvm-original-di-preservation --reduce %p/Inputs/sample.json --report-html-file %t3.html | FileCheck %s -check-prefix=REDUCE
12 RUN: diff -w %p/Inputs/expected-compressed.html %t3.html
13 REDUCE: The {{.+}}.html generated.
14 REDUCE-NOT: Skipped lines:
15
16 RUN: %llvm-original-di-preservation %p/Inputs/origin.json --report-html-file %t4.html | FileCheck %s
17 RUN: diff -w %p/Inputs/expected-origin.html %t4.html
18
19 RUN: %llvm-original-di-preservation --reduce %p/Inputs/origin.json --report-html-file %t5.html | FileCheck %s
20 RUN: diff -w %p/Inputs/expected-origin-reduced.html %t5.html