diff options
| author | Vedant Kumar <vsk@apple.com> | 2017-02-28 16:57:28 +0000 |
|---|---|---|
| committer | Vedant Kumar <vsk@apple.com> | 2017-02-28 16:57:28 +0000 |
| commit | 431359aa8b04efb50147eb45aa5d157824da26bf (patch) | |
| tree | 54bb6be1c3e02332c668829123519d3e2018cd51 /llvm/test/tools | |
| parent | 419f145ebb6fb7d31fd0c2d415ba44c2fe3be21f (diff) | |
| download | bcm5719-llvm-431359aa8b04efb50147eb45aa5d157824da26bf.tar.gz bcm5719-llvm-431359aa8b04efb50147eb45aa5d157824da26bf.zip | |
[llvm-cov] Error-out when an unsupported format is used (PR32087)
llvm-svn: 296487
Diffstat (limited to 'llvm/test/tools')
| -rw-r--r-- | llvm/test/tools/llvm-cov/warnings.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-cov/warnings.h b/llvm/test/tools/llvm-cov/warnings.h index 0517b6a7c87..a06e02f92d5 100644 --- a/llvm/test/tools/llvm-cov/warnings.h +++ b/llvm/test/tools/llvm-cov/warnings.h @@ -1,5 +1,7 @@ // RUN: llvm-cov show %S/Inputs/prevent_false_instantiations.covmapping -instr-profile %S/Inputs/elf_binary_comdat.profdata -filename-equivalence /dev/null | FileCheck %s -allow-empty -check-prefix=FAKE-FILE-STDOUT // RUN: llvm-cov show %S/Inputs/prevent_false_instantiations.covmapping -instr-profile %S/Inputs/elf_binary_comdat.profdata -filename-equivalence /dev/null 2>&1 | FileCheck %s -check-prefix=FAKE-FILE-STDERR +// RUN: not llvm-cov report %S/Inputs/prevent_false_instantiations.covmapping -instr-profile %S/Inputs/elf_binary_comdat.profdata -format=html +// RUN: not llvm-cov export %S/Inputs/prevent_false_instantiations.covmapping -instr-profile %S/Inputs/elf_binary_comdat.profdata -format=html // FAKE-FILE-STDOUT-NOT: warning: The file '{{.*}}' isn't covered. // FAKE-FILE-STDERR: warning: The file '{{.*}}' isn't covered. |

