Vedant Kumar | 2c96e88 | 2016-06-24 02:33:01 +0000 | [diff] [blame] | 1 | // 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 |
| 2 | // 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 |
| 3 | |
| 4 | // FAKE-FILE-STDOUT-NOT: warning: The file '{{.*}}' isn't covered. |
| 5 | // FAKE-FILE-STDERR: warning: The file '{{.*}}' isn't covered. |
| 6 | |
| 7 | // RUN: llvm-cov show %S/Inputs/prevent_false_instantiations.covmapping -instr-profile %S/Inputs/elf_binary_comdat.profdata -filename-equivalence -name ".*" /dev/null | FileCheck %s -allow-empty -check-prefix=FAKE-FUNC-STDOUT |
| 8 | // RUN: llvm-cov show %S/Inputs/prevent_false_instantiations.covmapping -instr-profile %S/Inputs/elf_binary_comdat.profdata -filename-equivalence -name-regex ".*" /dev/null 2>&1 | FileCheck %s -check-prefix=FAKE-FUNC-STDERR |
| 9 | |
| 10 | // FAKE-FUNC-STDOUT-NOT: warning: Could not read coverage for '{{.*}}'. |
| 11 | // FAKE-FUNC-STDERR: Could not read coverage for '{{.*}}'. |