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 | aae88013c7f4bea9065d9a5ed2e67c90496cdbd9 (patch) | |
tree | 0bfd1987184c330ff8f6ec69c1d3c490afe368ab /llvm/test/tools/llvm-cov/llvm-cov.test | |
parent | cf8933d1b79455dc13e76fecb114f286bc3c19d0 (diff) | |
download | bcm5719-llvm-aae88013c7f4bea9065d9a5ed2e67c90496cdbd9.tar.gz bcm5719-llvm-aae88013c7f4bea9065d9a5ed2e67c90496cdbd9.zip |
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.
llvm-svn: 194616
Diffstat (limited to 'llvm/test/tools/llvm-cov/llvm-cov.test')
-rw-r--r-- | llvm/test/tools/llvm-cov/llvm-cov.test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-cov/llvm-cov.test b/llvm/test/tools/llvm-cov/llvm-cov.test new file mode 100644 index 00000000000..c0383f0560c --- /dev/null +++ b/llvm/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 |