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