From 07a59fbd3baed0b729f1437a6635ee1d8d463929 Mon Sep 17 00:00:00 2001 From: Yuchen Wu Date: Tue, 5 Nov 2013 01:56:23 +0000 Subject: Added basic unit test for llvm-cov. This test compares the output of llvm-cov against a coverage file generated by gcov. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194038 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/tools/llvm-cov/llvm-cov.test | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 test/tools/llvm-cov/llvm-cov.test (limited to 'test/tools/llvm-cov/llvm-cov.test') diff --git a/test/tools/llvm-cov/llvm-cov.test b/test/tools/llvm-cov/llvm-cov.test new file mode 100644 index 0000000000..a404e61940 --- /dev/null +++ b/test/tools/llvm-cov/llvm-cov.test @@ -0,0 +1,2 @@ +RUN: llvm-cov -gcno=test.gcno -gcda=test.gcda -C=%p/Inputs/ \ +RUN: | diff %p/Inputs/test.cpp.gcov - -- cgit v1.2.3