From 9433c770f7cd72882fa33edf3b53dd62a23abc21 Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Tue, 4 Feb 2014 06:41:39 +0000 Subject: llvm-cov: Ignore missing .gcda files When gcov is run without gcda data, it acts as if the counts are all zero and labels the file as - to indicate that there was no data. We should do the same. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200740 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/tools/llvm-cov/Inputs/test_no_gcda.output | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/tools/llvm-cov/Inputs/test_no_gcda.output (limited to 'test/tools/llvm-cov/Inputs/test_no_gcda.output') diff --git a/test/tools/llvm-cov/Inputs/test_no_gcda.output b/test/tools/llvm-cov/Inputs/test_no_gcda.output new file mode 100644 index 0000000000..69adce209b --- /dev/null +++ b/test/tools/llvm-cov/Inputs/test_no_gcda.output @@ -0,0 +1,8 @@ +File 'test.cpp' +Lines executed:0.00% of 38 +test.cpp:creating 'test.cpp.gcov' + +File './test.h' +Lines executed:0.00% of 1 +./test.h:creating './test.h.gcov' + -- cgit v1.2.3