diff options
author | Yuchen Wu <yuchenericwu@hotmail.com> | 2013-11-05 01:56:23 +0000 |
---|---|---|
committer | Yuchen Wu <yuchenericwu@hotmail.com> | 2013-11-05 01:56:23 +0000 |
commit | 07a59fbd3baed0b729f1437a6635ee1d8d463929 (patch) | |
tree | 4d5d36a1769ec54756ef26f55ef8997f5b40a89b /test/tools/llvm-cov/llvm-cov.test | |
parent | d8acf0078cf363252727acff00f85ae8074f95b3 (diff) | |
download | llvm-07a59fbd3baed0b729f1437a6635ee1d8d463929.tar.gz llvm-07a59fbd3baed0b729f1437a6635ee1d8d463929.tar.bz2 llvm-07a59fbd3baed0b729f1437a6635ee1d8d463929.tar.xz |
Added basic unit test for llvm-cov.
This test compares the output of llvm-cov against a coverage file
generated by gcov.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194038 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 | 2 |
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 new file mode 100644 index 0000000000..a404e61940 --- /dev/null +++ b/test/tools/llvm-cov/llvm-cov.test @@ -0,0 +1,2 @@ +RUN: llvm-cov -gcno=test.gcno -gcda=test.gcda -C=%p/Inputs/ \ +RUN: | diff %p/Inputs/test.cpp.gcov - |