[compiler-rt] r368641 - [TSan] Fix test failing on Linux

Julian Lettner via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 12 17:37:48 PDT 2019


Author: yln
Date: Mon Aug 12 17:37:48 2019
New Revision: 368641

URL: http://llvm.org/viewvc/llvm-project?rev=368641&view=rev
Log:
[TSan] Fix test failing on Linux

Modified:
    compiler-rt/trunk/test/tsan/libdispatch/dispatch_once_deadlock.c

Modified: compiler-rt/trunk/test/tsan/libdispatch/dispatch_once_deadlock.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/libdispatch/dispatch_once_deadlock.c?rev=368641&r1=368640&r2=368641&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/libdispatch/dispatch_once_deadlock.c (original)
+++ compiler-rt/trunk/test/tsan/libdispatch/dispatch_once_deadlock.c Mon Aug 12 17:37:48 2019
@@ -1,7 +1,7 @@
 // Check that calling dispatch_once from a report callback works.
 
 // RUN: %clang_tsan %s -o %t
-// RUN: not %run %t 2>&1 | FileCheck %s
+// RUN: not %env_tsan_opts=ignore_noninstrumented_modules=0 %run %t 2>&1 | FileCheck %s
 
 #include <dispatch/dispatch.h>
 




More information about the llvm-commits mailing list