summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-cov/llvm-cov.test
diff options
context:
space:
mode:
authorYuchen Wu <yuchenericwu@hotmail.com>2013-12-16 22:14:02 +0000
committerYuchen Wu <yuchenericwu@hotmail.com>2013-12-16 22:14:02 +0000
commit66d93b82ac7fe2c7cc82ffb61a1ad07a7838397f (patch)
treeb2a71c66287c3f805b80ecb3f890c627911c1331 /llvm/test/tools/llvm-cov/llvm-cov.test
parent9ed985baadc3b1df704892d1c85a97c38a19e46a (diff)
downloadbcm5719-llvm-66d93b82ac7fe2c7cc82ffb61a1ad07a7838397f.tar.gz
bcm5719-llvm-66d93b82ac7fe2c7cc82ffb61a1ad07a7838397f.zip
llvm-cov: Added -u option for unconditional branch info.
Outputs branch information for unconditional branches in addition to conditional branches. -b option must be enabled. Also updated tests. llvm-svn: 197432
Diffstat (limited to 'llvm/test/tools/llvm-cov/llvm-cov.test')
-rw-r--r--llvm/test/tools/llvm-cov/llvm-cov.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-cov/llvm-cov.test b/llvm/test/tools/llvm-cov/llvm-cov.test
index bf0fb07631d..c436c1a0b9f 100644
--- a/llvm/test/tools/llvm-cov/llvm-cov.test
+++ b/llvm/test/tools/llvm-cov/llvm-cov.test
@@ -17,6 +17,10 @@ RUN: llvm-cov -gcno=test.gcno -gcda=test.gcda -a -b
RUN: diff -aub test_-a_-b.cpp.gcov test.cpp.gcov
RUN: diff -aub test_-a_-b.h.gcov test.h.gcov
+RUN: llvm-cov -gcno=test.gcno -gcda=test.gcda -a -b -u
+RUN: diff -aub test_-a_-b_-u.cpp.gcov test.cpp.gcov
+RUN: diff -aub test_-a_-b_-u.h.gcov test.h.gcov
+
RUN: not llvm-cov -gcno=test_read_fail.gcno -gcda=test.gcda
RUN: not llvm-cov -gcno=test.gcno -gcda=test_file_checksum_fail.gcda
OpenPOWER on IntegriCloud