[compiler-rt] d990811 - [test][sanitizer] Improve test expectation
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Mon May 8 00:43:21 PDT 2023
Author: Vitaly Buka
Date: 2023-05-08T00:35:07-07:00
New Revision: d9908116bc15ee293e18ad566118b4c3c8427b9f
URL: https://github.com/llvm/llvm-project/commit/d9908116bc15ee293e18ad566118b4c3c8427b9f
DIFF: https://github.com/llvm/llvm-project/commit/d9908116bc15ee293e18ad566118b4c3c8427b9f.diff
LOG: [test][sanitizer] Improve test expectation
Now we can fix sanitizers for the test one by one.
Added:
Modified:
compiler-rt/test/lsan/TestCases/create_thread_leak.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/lsan/TestCases/create_thread_leak.cpp b/compiler-rt/test/lsan/TestCases/create_thread_leak.cpp
index d04f5f64f23bd..79fe26547d472 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 <pthread.h>
#include <stdlib.h>
More information about the llvm-commits
mailing list