mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
698f3e12b7
This option tells llvm-cov to print out branch probabilities when a basic block contains multiple branches. It also prints out some function summary info including the number of times the function enters, the percent of time it returns, and how many blocks were executed. Also updated tests. llvm-svn: 197198
27 lines
810 B
Plaintext
27 lines
810 B
Plaintext
# "cd" and globbing are unsupported in lit internal runner.
|
|
REQUIRES: shell
|
|
RUN: rm -rf %t
|
|
RUN: mkdir %t
|
|
RUN: cd %t
|
|
RUN: cp %p/Inputs/test* .
|
|
|
|
RUN: llvm-cov -gcno=test.gcno -gcda=test.gcda
|
|
RUN: diff -aub test_no_options.cpp.gcov test.cpp.gcov
|
|
RUN: diff -aub test_no_options.h.gcov test.h.gcov
|
|
|
|
RUN: llvm-cov -gcno=test.gcno -gcda=test.gcda -a
|
|
RUN: diff -aub test_-a.cpp.gcov test.cpp.gcov
|
|
RUN: diff -aub test_-a.h.gcov test.h.gcov
|
|
|
|
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: not llvm-cov -gcno=test_read_fail.gcno -gcda=test.gcda
|
|
|
|
RUN: not llvm-cov -gcno=test.gcno -gcda=test_file_checksum_fail.gcda
|
|
|
|
RUN: not llvm-cov -gcno=test.gcno -gcda=test_func_checksum_fail.gcda
|
|
|
|
XFAIL: powerpc64, s390x, mips
|