diff options
author | Yuchen Wu <yuchenericwu@hotmail.com> | 2013-11-13 22:50:15 +0000 |
---|---|---|
committer | Yuchen Wu <yuchenericwu@hotmail.com> | 2013-11-13 22:50:15 +0000 |
commit | 86e37f567b23a37d4656d13972d0679fc53da1af (patch) | |
tree | d7aa829c0e0e238f621c35805ec6936c0d1afe31 /test/tools/llvm-cov/llvm-cov.test | |
parent | f44941d81dc30cfd357c12292059721c9644a27f (diff) | |
download | llvm-86e37f567b23a37d4656d13972d0679fc53da1af.tar.gz llvm-86e37f567b23a37d4656d13972d0679fc53da1af.tar.bz2 llvm-86e37f567b23a37d4656d13972d0679fc53da1af.tar.xz |
Added basic unit test for llvm-cov.
This test compares the output of llvm-cov against a coverage file
generated by gcov. Currently, llvm-cov does not work on certain
platforms (namely big-endian architectures such as PowerPC, among
others). These platforms are marked as XFAIL for now, but will be fixed
later.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194616 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tools/llvm-cov/llvm-cov.test')
-rw-r--r-- | test/tools/llvm-cov/llvm-cov.test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/tools/llvm-cov/llvm-cov.test b/test/tools/llvm-cov/llvm-cov.test new file mode 100644 index 0000000000..c0383f0560 --- /dev/null +++ b/test/tools/llvm-cov/llvm-cov.test @@ -0,0 +1,4 @@ +RUN: cd %p/Inputs && llvm-cov -gcno=test.gcno -gcda=test.gcda \ +RUN: | diff test.cpp.gcov - + +XFAIL: ppc64-linux-gnu, s390x-linux-gnu, arm |