xref: /aosp_15_r20/external/llvm/test/tools/llvm-cov/warnings.h (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker // 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*9880d681SAndroid Build Coastguard Worker // 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*9880d681SAndroid Build Coastguard Worker 
4*9880d681SAndroid Build Coastguard Worker // FAKE-FILE-STDOUT-NOT: warning: The file '{{.*}}' isn't covered.
5*9880d681SAndroid Build Coastguard Worker // FAKE-FILE-STDERR: warning: The file '{{.*}}' isn't covered.
6*9880d681SAndroid Build Coastguard Worker 
7*9880d681SAndroid Build Coastguard Worker // 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*9880d681SAndroid Build Coastguard Worker // 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*9880d681SAndroid Build Coastguard Worker 
10*9880d681SAndroid Build Coastguard Worker // FAKE-FUNC-STDOUT-NOT: warning: Could not read coverage for '{{.*}}'.
11*9880d681SAndroid Build Coastguard Worker // FAKE-FUNC-STDERR: Could not read coverage for '{{.*}}'.
12