[compiler-rt] r274346 - [tsan] Relax the "ignored-interceptors.mm" testcase. The test has been flaky because it's detecting a false positive race (coming from a system library) and sometimes that race is detected after we're printing "Done".
Kuba Brecka via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 1 05:55:36 PDT 2016
Author: kuba.brecka
Date: Fri Jul 1 07:55:36 2016
New Revision: 274346
URL: http://llvm.org/viewvc/llvm-project?rev=274346&view=rev
Log:
[tsan] Relax the "ignored-interceptors.mm" testcase. The test has been flaky because it's detecting a false positive race (coming from a system library) and sometimes that race is detected after we're printing "Done".
Modified:
compiler-rt/trunk/test/tsan/Darwin/ignored-interceptors.mm
Modified: compiler-rt/trunk/test/tsan/Darwin/ignored-interceptors.mm
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/Darwin/ignored-interceptors.mm?rev=274346&r1=274345&r2=274346&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/Darwin/ignored-interceptors.mm (original)
+++ compiler-rt/trunk/test/tsan/Darwin/ignored-interceptors.mm Fri Jul 1 07:55:36 2016
@@ -6,7 +6,7 @@
// RUN: %clang_tsan %s -o %t -framework Foundation
// Check that without the flag, there are false positives.
-// RUN: %deflake %run %t 2>&1 | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-RACE
+// RUN: %deflake %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-RACE
// With ignore_interceptors_accesses=1, no races are reported.
// RUN: %env_tsan_opts=ignore_interceptors_accesses=1 %run %t 2>&1 | FileCheck %s
More information about the llvm-commits
mailing list