mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 15:17:25 +00:00
llvm-cov: Removed output to STDOUT/specified file.
Instead of asking the user to specify a single file to output coverage info and defaulting to STDOUT, llvm-cov now creates files for each source file with a naming system of: <source filename> + ".llcov". This is what gcov does and although it can clutter the working directory with numerous coverage files, it will be easier to hook the llvm-cov output to tools which operate on this assumption (such as lcov). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196184 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2,8 +2,9 @@ RUN: cd %p/Inputs
|
||||
# "cd" is unsupported in lit internal runner.
|
||||
REQUIRES: shell
|
||||
|
||||
RUN: llvm-cov -gcno=test.gcno -gcda=test.gcda \
|
||||
RUN: | diff -aub test.cpp.gcov -
|
||||
RUN: llvm-cov -gcno=test.gcno -gcda=test.gcda
|
||||
RUN: diff test.cpp.gcov test.cpp.llcov
|
||||
RUN: rm test.cpp.llcov
|
||||
|
||||
RUN: not llvm-cov -gcno=test_read_fail.gcno -gcda=test.gcda
|
||||
|
||||
|
||||
Reference in New Issue
Block a user