From d9908116bc15ee293e18ad566118b4c3c8427b9f Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Mon, 8 May 2023 00:31:10 -0700 Subject: [PATCH] [test][sanitizer] Improve test expectation Now we can fix sanitizers for the test one by one. --- compiler-rt/test/lsan/TestCases/create_thread_leak.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/test/lsan/TestCases/create_thread_leak.cpp b/compiler-rt/test/lsan/TestCases/create_thread_leak.cpp index d04f5f6..79fe265 100644 --- a/compiler-rt/test/lsan/TestCases/create_thread_leak.cpp +++ b/compiler-rt/test/lsan/TestCases/create_thread_leak.cpp @@ -7,7 +7,7 @@ // FIXME: Remove "not". There is no leak. // False LEAK123 is broken for HWASAN. // False LEAK234 is broken for ASAN, HWASAN, LSAN. -// RUN: %clangxx_lsan -pthread %s -o %t && %run not %t 10 +// RUN: %clangxx_lsan -pthread %s -o %t && %run %if asan %{ not %} %if hwasan %{ not %} %if lsan-standalone %{ not %} %t 10 #include #include -- 2.7.4