diff options
Diffstat (limited to 'llvm/test/tools')
| -rw-r--r-- | llvm/test/tools/sancov/AArch64/print_coverage_pcs.test | 2 | ||||
| -rw-r--r-- | llvm/test/tools/sancov/validation.test | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/llvm/test/tools/sancov/AArch64/print_coverage_pcs.test b/llvm/test/tools/sancov/AArch64/print_coverage_pcs.test index b71eabb8a35..d5fff4db132 100644 --- a/llvm/test/tools/sancov/AArch64/print_coverage_pcs.test +++ b/llvm/test/tools/sancov/AArch64/print_coverage_pcs.test @@ -1,4 +1,4 @@ REQUIRES: aarch64-registered-target RUN: not sancov -print-coverage-pcs %p/../Inputs/test-linux_android_aarch64 2>&1 | FileCheck %s --check-prefix=AARCH64 -AARCH64: Error: __sanitizer_cov* functions not found +AARCH64: ERROR: __sanitizer_cov* functions not found diff --git a/llvm/test/tools/sancov/validation.test b/llvm/test/tools/sancov/validation.test new file mode 100644 index 00000000000..437870cf597 --- /dev/null +++ b/llvm/test/tools/sancov/validation.test @@ -0,0 +1,6 @@ +REQUIRES: x86_64-linux +RUN: not sancov -covered-functions %p/Inputs/test-linux_x86_64 2>&1 | FileCheck --check-prefix=NOCFILE %s + +NOCFILE: WARNING: No coverage file for {{.*}}test-linux_x86_64 +NOCFILE: ERROR: No valid coverage files given. + |

