[Lldb-commits] [lldb] ca7a20d - [lldb] Reduce chances of spurious failures in some build setups
Alexander Kornienko via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 12 04:05:43 PDT 2023
Author: Alexander Kornienko
Date: 2023-04-12T13:05:39+02:00
New Revision: ca7a20df108290ed9cd0ceb3137b253c8256a861
URL: https://github.com/llvm/llvm-project/commit/ca7a20df108290ed9cd0ceb3137b253c8256a861
DIFF: https://github.com/llvm/llvm-project/commit/ca7a20df108290ed9cd0ceb3137b253c8256a861.diff
LOG: [lldb] Reduce chances of spurious failures in some build setups
The test may fail when running from a directory that contains the string used in
CHECK-NOT. We observe flakiness rate of around 3/100000. Increasing the length
helps reducing the rate of failures.
Reviewed By: DavidSpickett
Differential Revision: https://reviews.llvm.org/D148099
Added:
Modified:
lldb/test/Shell/Commands/command-stop-hook-no-target.test
Removed:
################################################################################
diff --git a/lldb/test/Shell/Commands/command-stop-hook-no-target.test b/lldb/test/Shell/Commands/command-stop-hook-no-target.test
index cc5e71dff00cd..70e1332091cde 100644
--- a/lldb/test/Shell/Commands/command-stop-hook-no-target.test
+++ b/lldb/test/Shell/Commands/command-stop-hook-no-target.test
@@ -1,4 +1,5 @@
# RUN: %clang_host -g %S/Inputs/main.c -o %t
# RUN: %lldb -b -o 'target stop-hook add --name test --shlib test -o "expression 95000 + 126"' -o 'file %t' -o 'b main' -o 'r' 2>&1 | FileCheck %s
# CHECK: Stop hook #1 added
-# CHECK-NOT: 95126
+# CHECK-NOT: (lldb) expression 95000 + 126
+# CHECK-NOT: (int) $0 = 95126
More information about the lldb-commits
mailing list