[compiler-rt] e51fc36 - [lsan][test] Allow testcase to execute on remote targets without not utility (#87350)

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 29 15:06:37 PDT 2024


Author: rjmansfield
Date: 2024-08-29T15:06:33-07:00
New Revision: e51fc36c385d756ccbc2be8c47c52af207c3aead

URL: https://github.com/llvm/llvm-project/commit/e51fc36c385d756ccbc2be8c47c52af207c3aead
DIFF: https://github.com/llvm/llvm-project/commit/e51fc36c385d756ccbc2be8c47c52af207c3aead.diff

LOG: [lsan][test] Allow testcase to execute on remote targets without not utility (#87350)

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 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.


        


More information about the llvm-commits mailing list