summaryrefslogtreecommitdiff
path: root/test/tools/llvm-cov/llvm-cov.test
diff options
context:
space:
mode:
authorYuchen Wu <yuchenericwu@hotmail.com>2013-11-20 04:15:05 +0000
committerYuchen Wu <yuchenericwu@hotmail.com>2013-11-20 04:15:05 +0000
commitd23c759c0fa10b7fb244b4d2911b49b95138a7e1 (patch)
tree4346b143320207b2cc677a34902d7e0ddc697eb8 /test/tools/llvm-cov/llvm-cov.test
parent523d929368829b5157748f46f85b4577b7fd6ca1 (diff)
downloadllvm-d23c759c0fa10b7fb244b4d2911b49b95138a7e1.tar.gz
llvm-d23c759c0fa10b7fb244b4d2911b49b95138a7e1.tar.bz2
llvm-d23c759c0fa10b7fb244b4d2911b49b95138a7e1.tar.xz
llvm-cov: Added file checksum to gcno and gcda files.
Instead of permanently outputting "MVLL" as the file checksum, clang will create gcno and gcda checksums by hashing the destination block numbers of every arc. This allows for llvm-cov to check if the two gcov files are synchronized. Regenerated the test files so they contain the checksum. Also added negative test to ensure error when the checksums don't match. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195191 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tools/llvm-cov/llvm-cov.test')
-rw-r--r--test/tools/llvm-cov/llvm-cov.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/tools/llvm-cov/llvm-cov.test b/test/tools/llvm-cov/llvm-cov.test
index 28738a78d1..d95af9b40f 100644
--- a/test/tools/llvm-cov/llvm-cov.test
+++ b/test/tools/llvm-cov/llvm-cov.test
@@ -7,4 +7,6 @@ RUN: | diff -aub test.cpp.gcov -
RUN: not llvm-cov -gcno=test_read_fail.gcno -gcda=test.gcda
+RUN: not llvm-cov -gcno=test.gcno -gcda=test_checksum_mismatch.gcda
+
XFAIL: powerpc64, s390x