diff options
author | Yuchen Wu <yuchenericwu@hotmail.com> | 2013-11-12 04:52:53 +0000 |
---|---|---|
committer | Yuchen Wu <yuchenericwu@hotmail.com> | 2013-11-12 04:52:53 +0000 |
commit | d99e04db6a9a8d58dcfdd958d1a4f00c7d518c9d (patch) | |
tree | cd16b8ee0f8f774241011a96cedb8d673466a7d7 /test/tools/llvm-cov/Inputs/README | |
parent | 86245071b52f1da99ac65157c38bfa5577a80714 (diff) | |
download | llvm-d99e04db6a9a8d58dcfdd958d1a4f00c7d518c9d.tar.gz llvm-d99e04db6a9a8d58dcfdd958d1a4f00c7d518c9d.tar.bz2 llvm-d99e04db6a9a8d58dcfdd958d1a4f00c7d518c9d.tar.xz |
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
Diffstat (limited to 'test/tools/llvm-cov/Inputs/README')
-rw-r--r-- | test/tools/llvm-cov/Inputs/README | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/tools/llvm-cov/Inputs/README b/test/tools/llvm-cov/Inputs/README new file mode 100644 index 0000000000..35c489e08c --- /dev/null +++ b/test/tools/llvm-cov/Inputs/README @@ -0,0 +1,7 @@ +These inputs were pre-generated to allow for easier testing of llvm-cov. + +test.gcno and test.gcda were create by running the latest version of clang: + clang++ -g -ftest-coverage -fprofile-arcs test.cpp + +test.cpp.gcov was created by running gcov 4.2.1: + gcov test.cpp |