[sancov] removing flaky test case (win)
authorMike Aizatsky <aizatsky@chromium.org>
Thu, 7 Apr 2016 00:23:02 +0000 (00:23 +0000)
committerMike Aizatsky <aizatsky@chromium.org>
Thu, 7 Apr 2016 00:23:02 +0000 (00:23 +0000)
llvm-svn: 265627

compiler-rt/test/asan/TestCases/coverage-pc-buffer.cc

index 36fde82..f1e9b45 100644 (file)
@@ -32,17 +32,10 @@ int main() {
   assert(buf1 == buf);
   assert(sz1 > sz);
 
-  bar();
-  uintptr_t *buf2 = NULL;
-  uintptr_t sz2 = __sanitizer_get_coverage_pc_buffer(&buf2);
-  assertNotZeroPcs(buf2, sz2);
-  assert(buf2 == buf);
-  assert(sz2 == sz1);
-
   __sanitizer_reset_coverage();
   uintptr_t *buf3 = NULL;
   uintptr_t sz3 = __sanitizer_get_coverage_pc_buffer(&buf3);
   assertNotZeroPcs(buf3, sz3);
   assert(buf3 == buf);
-  assert(sz3 < sz2);
+  assert(sz3 < sz1);
 }