summaryrefslogtreecommitdiffstats
path: root/clang/test/CoverageMapping/header.cpp
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2014-08-19 20:51:54 +0000
committerAlex Lorenz <arphaman@gmail.com>2014-08-19 20:51:54 +0000
commitb5f3a844a701ce3c460a543a661d79c905eeb7ec (patch)
tree1103aff1a9551f6198b0f00dfa7dde9e47492098 /clang/test/CoverageMapping/header.cpp
parent6afeffb0780f97ec1c5fd1db9c9368c4b6ac8ecc (diff)
downloadbcm5719-llvm-b5f3a844a701ce3c460a543a661d79c905eeb7ec.tar.gz
bcm5719-llvm-b5f3a844a701ce3c460a543a661d79c905eeb7ec.zip
Test: Coverage Mapping: add missing RUN commands
Add the llvm-lit RUN commands for the two coverage mapping tests that filecheck a temporary file. llvm-svn: 216020
Diffstat (limited to 'clang/test/CoverageMapping/header.cpp')
-rw-r--r--clang/test/CoverageMapping/header.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/clang/test/CoverageMapping/header.cpp b/clang/test/CoverageMapping/header.cpp
index 9e4ab54ebde..9de3c4081d0 100644
--- a/clang/test/CoverageMapping/header.cpp
+++ b/clang/test/CoverageMapping/header.cpp
@@ -1,7 +1,7 @@
// RUN: %clang_cc1 -fprofile-instr-generate -fcoverage-mapping -dump-coverage-mapping -emit-llvm-only -main-file-name tu1.cpp %s > %tmapping
-// cat %tmapping | FileCheck %s --check-prefix=CHECK-FUNC
-// cat %tmapping | FileCheck %s --check-prefix=CHECK-STATIC-FUNC
-// cat %tmapping | FileCheck %s --check-prefix=CHECK-STATIC-FUNC2
+// RUN: cat %tmapping | FileCheck %s --check-prefix=CHECK-FUNC
+// RUN: cat %tmapping | FileCheck %s --check-prefix=CHECK-STATIC-FUNC
+// RUN: cat %tmapping | FileCheck %s --check-prefix=CHECK-STATIC-FUNC2
#include "Inputs/header1.h"
@@ -14,14 +14,14 @@ int main() {
// CHECK-FUNC: File 0, 4:25 -> 11:2 = #0 (HasCodeBefore = 0)
// CHECK-FUNC: File 0, 6:15 -> 8:4 = #1 (HasCodeBefore = 0)
// CHECK-FUNC: File 0, 8:10 -> 10:4 = (#0 - #1) (HasCodeBefore = 0)
-// CHECK-FUNC: Expansion,File 1, 3:10 -> 3:28 = #0 (HasCodeBefore = 0, Expanded file = 0)
+// CHECK-FUNC: Expansion,File 1, 6:10 -> 6:28 = #0 (HasCodeBefore = 0, Expanded file = 0)
// CHECK-STATIC-FUNC: static_func
// CHECK-STATIC-FUNC: File 0, 12:32 -> 20:2 = #0 (HasCodeBefore = 0)
// CHECK-STATIC-FUNC: File 0, 14:15 -> 16:4 = #1 (HasCodeBefore = 0)
-// CHECK-STATIC-FUNC File 0, 16:10 -> 18:4 = (#0 - #1) (HasCodeBefore = 0)
-// CHECK-STATIC-FUNC: Expansion,File 1, 3:10 -> 3:28 = #0 (HasCodeBefore = 0, Expanded file = 0)
+// CHECK-STATIC-FUNC: File 0, 16:10 -> 18:4 = (#0 - #1) (HasCodeBefore = 0)
+// CHECK-STATIC-FUNC: Expansion,File 1, 6:10 -> 6:28 = #0 (HasCodeBefore = 0, Expanded file = 0)
// CHECK-STATIC-FUNC2: static_func2
// CHECK-STATIC-FUNC2: File 0, 21:33 -> 29:2 = 0 (HasCodeBefore = 0)
-// CHECK-STATIC-FUNC2: Expansion,File 1, 3:10 -> 3:28 = 0 (HasCodeBefore = 0, Expanded file = 0)
+// CHECK-STATIC-FUNC2: Expansion,File 1, 6:10 -> 6:28 = 0 (HasCodeBefore = 0, Expanded file = 0)
OpenPOWER on IntegriCloud