[compiler-rt] [lsan][test] Allow testcase to execute on remote targets without not utility (PR #87350)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 2 06:59:04 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-compiler-rt-sanitizer
Author: None (rjmansfield)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/87350.diff
1 Files Affected:
- (modified) compiler-rt/test/lsan/TestCases/create_thread_leak.cpp (+3-3)
``````````diff
diff --git a/compiler-rt/test/lsan/TestCases/create_thread_leak.cpp b/compiler-rt/test/lsan/TestCases/create_thread_leak.cpp
index 564d4b66384e8a..994b0e644632eb 100644
--- a/compiler-rt/test/lsan/TestCases/create_thread_leak.cpp
+++ b/compiler-rt/test/lsan/TestCases/create_thread_leak.cpp
@@ -1,9 +1,9 @@
// Test handling of arg and retval of child thread.
// RUN: %clangxx_lsan -pthread %s -o %t
-// RUN: %run not %t 10 1 0 0 2>&1 | FileCheck %s --check-prefixes=LEAK,LEAK123
-// RUN: %run not %t 10 0 1 0 2>&1 | FileCheck %s --check-prefixes=LEAK,LEAK234
-// RUN: %run not %t 10 0 0 1 2>&1 | FileCheck %s --check-prefixes=LEAK,LEAK234
+// RUN: not %run %t 10 1 0 0 2>&1 | FileCheck %s --check-prefixes=LEAK,LEAK123
+// RUN: not %run %t 10 0 1 0 2>&1 | FileCheck %s --check-prefixes=LEAK,LEAK234
+// RUN: not %run %t 10 0 0 1 2>&1 | FileCheck %s --check-prefixes=LEAK,LEAK234
// RUN: %run %t 10 0 0 0
// This test appears to be flaky on x86_64-darwin buildbots.
``````````
</details>
https://github.com/llvm/llvm-project/pull/87350
More information about the llvm-commits
mailing list