diff options
| author | Justin Bogner <mail@justinbogner.com> | 2014-08-09 03:55:09 +0000 |
|---|---|---|
| committer | Justin Bogner <mail@justinbogner.com> | 2014-08-09 03:55:09 +0000 |
| commit | a0101074fd8447028909dfb38efcb583f0204c84 (patch) | |
| tree | fe74855e8c265ac64e7ef0fee04775bef7ff6e1d /clang/test/CoverageMapping/logical.cpp | |
| parent | 996a0ef99eb84da6e908866b6a451371adcdae04 (diff) | |
Revert "Add tests for coverage mapping generation."
I reverted one of the added tests from r215261 in r215274, since it
was failing on quite a few bots. It looks like this wasn't sufficient,
as we're still getting failures on windows, like the following:
http://bb.pgr.jp/builders/ninja-x64-msvc-RA-centos6/builds/5378
I'm reverting this entire commit so the bots aren't blocked on these
failures.
This reverts commit r215261.
llvm-svn: 215278
Diffstat (limited to 'clang/test/CoverageMapping/logical.cpp')
| -rw-r--r-- | clang/test/CoverageMapping/logical.cpp | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/clang/test/CoverageMapping/logical.cpp b/clang/test/CoverageMapping/logical.cpp deleted file mode 100644 index 5d038be34318..000000000000 --- a/clang/test/CoverageMapping/logical.cpp +++ /dev/null @@ -1,44 +0,0 @@ -// RUN: %clang_cc1 -fprofile-instr-generate -fcoverage-mapping -dump-coverage-mapping -emit-llvm-only -main-file-name logical.cpp %s | FileCheck %s - -int main() { - bool bt = true; - bool bf = false; - bool a = bt && bf; - a = bt && - bf; - a = bf && bt; - a = bf && - bt; - a = bf || bt; - a = bf || - bt; - a = bt || bf; - a = bt || - bf; - for(int j = 0; j < 10; ++j) { - if(j < 2 && j < 6) a = true; - a = j < 0 && j > 10; - if(j < 0 && j > 10) a = false; - a = j < 10 || j < 20; - } - return 0; -} - -// CHECK: File 0, 3:12 -> 25:2 = #0 (HasCodeBefore = 0) -// CHECK-NEXT: File 0, 6:18 -> 6:20 = #1 (HasCodeBefore = 0) -// CHECK-NEXT: File 0, 8:7 -> 8:9 = #2 (HasCodeBefore = 0) -// CHECK-NEXT: File 0, 9:13 -> 9:15 = #3 (HasCodeBefore = 0) -// CHECK-NEXT: File 0, 11:7 -> 11:9 = #4 (HasCodeBefore = 0) -// CHECK-NEXT: File 0, 12:13 -> 12:15 = #5 (HasCodeBefore = 0) -// CHECK-NEXT: File 0, 14:7 -> 14:9 = #6 (HasCodeBefore = 0) -// CHECK-NEXT: File 0, 15:13 -> 15:15 = #7 (HasCodeBefore = 0) -// CHECK-NEXT: File 0, 17:7 -> 17:9 = #8 (HasCodeBefore = 0) -// CHECK-NEXT: File 0, 18:18 -> 18:24 = (#0 + #9) (HasCodeBefore = 0) -// CHECK-NEXT: File 0, 18:26 -> 18:29 = #9 (HasCodeBefore = 0) -// CHECK-NEXT: File 0, 18:31 -> 23:4 = #9 (HasCodeBefore = 0) -// CHECK-NEXT: File 0, 19:17 -> 19:22 = #11 (HasCodeBefore = 0) -// CHECK-NEXT: File 0, 19:24 -> 19:32 = #10 (HasCodeBefore = 0) -// CHECK-NEXT: File 0, 20:18 -> 20:24 = #12 (HasCodeBefore = 0) -// CHECK-NEXT: File 0, 21:17 -> 21:23 = #14 (HasCodeBefore = 0) -// CHECK-NEXT: File 0, 21:25 -> 21:34 = #13 (HasCodeBefore = 0) -// CHECK-NEXT: File 0, 22:19 -> 22:25 = #15 (HasCodeBefore = 0) |
