diff options
author | Justin Bogner <mail@justinbogner.com> | 2014-06-27 20:41:25 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2014-06-27 20:41:25 +0000 |
commit | 1cfa342dc1fd6fd498652d67311c3632893512b3 (patch) | |
tree | 02bba9e35e6248199c246fd042096900b681cb34 /test | |
parent | 5bbd607fb37ab91d335007baf49f3551e565ee9a (diff) | |
download | llvm-1cfa342dc1fd6fd498652d67311c3632893512b3.tar.gz llvm-1cfa342dc1fd6fd498652d67311c3632893512b3.tar.bz2 llvm-1cfa342dc1fd6fd498652d67311c3632893512b3.tar.xz |
llvm-cov: Support specifying multiple source files
Make llvm-cov compatible with gcov for cases where multiple files are
specified on the command line. That is, loop over each one and report
coverage, and report errors on stderr only rather than via return
code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211959 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/tools/llvm-cov/llvm-cov.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tools/llvm-cov/llvm-cov.test b/test/tools/llvm-cov/llvm-cov.test index 82d1273ae6..0d3eb6b8f8 100644 --- a/test/tools/llvm-cov/llvm-cov.test +++ b/test/tools/llvm-cov/llvm-cov.test @@ -102,12 +102,12 @@ RUN: diff -aub test_no_gcda.cpp.gcov test.cpp.gcov RUN: diff -aub test_no_gcda.h.gcov test.h.gcov # Invalid gcno file. -RUN: not llvm-cov test.c -gcno=test_read_fail.gcno +RUN: llvm-cov test.c -gcno=test_read_fail.gcno # Bad file checksum on gcda. -RUN: not llvm-cov test.c -gcda=test_file_checksum_fail.gcda +RUN: llvm-cov test.c -gcda=test_file_checksum_fail.gcda # Bad function checksum on gcda -RUN: not llvm-cov test.c -gcda=test_func_checksum_fail.gcda +RUN: llvm-cov test.c -gcda=test_func_checksum_fail.gcda XFAIL: powerpc64-, s390x, mips-, mips64-, sparc |