[TSan] Fix test failing on Linux
authorJulian Lettner <jlettner@apple.com>
Tue, 13 Aug 2019 00:37:48 +0000 (00:37 +0000)
committerJulian Lettner <jlettner@apple.com>
Tue, 13 Aug 2019 00:37:48 +0000 (00:37 +0000)
llvm-svn: 368641

compiler-rt/test/tsan/libdispatch/dispatch_once_deadlock.c

index 8379f81..9c7c47e 100644 (file)
@@ -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>