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
This commit is contained in:
Yuchen Wu
2013-11-13 22:50:15 +00:00
parent f44941d81d
commit 86e37f567b
7 changed files with 171 additions and 0 deletions

View File

@@ -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