[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:58:35 PDT 2024


https://github.com/rjmansfield created https://github.com/llvm/llvm-project/pull/87350

None

>From 0471b0f7621aefe949e40b1ee2628df019f51c42 Mon Sep 17 00:00:00 2001
From: Ryan Mansfield <rmansfield at gmail.com>
Date: Tue, 2 Apr 2024 08:47:04 -0400
Subject: [PATCH] [lsan][test] Allow testcase to execute on remote targets
 without not utility.

---
 compiler-rt/test/lsan/TestCases/create_thread_leak.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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