Added basic unit test for llvm-cov.
authorYuchen Wu <yuchenericwu@hotmail.com>
Tue, 12 Nov 2013 04:52:53 +0000 (04:52 +0000)
committerYuchen Wu <yuchenericwu@hotmail.com>
Tue, 12 Nov 2013 04:52:53 +0000 (04:52 +0000)
commitd99e04db6a9a8d58dcfdd958d1a4f00c7d518c9d
treecd16b8ee0f8f774241011a96cedb8d673466a7d7
parent86245071b52f1da99ac65157c38bfa5577a80714
Added basic unit test for llvm-cov.

This test compares the output of llvm-cov against a coverage file
generated by gcov. Since the source file must be in the current
directory when reading GCNO files, the test will first cd into the
Inputs directory.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194451 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-cov/Inputs/README [new file with mode: 0644]
test/tools/llvm-cov/Inputs/test.cpp [new file with mode: 0644]
test/tools/llvm-cov/Inputs/test.cpp.gcov [new file with mode: 0644]
test/tools/llvm-cov/Inputs/test.gcda [new file with mode: 0644]
test/tools/llvm-cov/Inputs/test.gcno [new file with mode: 0644]
test/tools/llvm-cov/lit.local.cfg [new file with mode: 0644]
test/tools/llvm-cov/llvm-cov.test [new file with mode: 0644]