Files
clang-p2996/lldb/test/Shell/Commands/command-stop-hook-no-target.test
Alexander Kornienko ca7a20df10 [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
2023-04-12 13:05:39 +02:00

6 lines
293 B
Plaintext

# 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: (lldb) expression 95000 + 126
# CHECK-NOT: (int) $0 = 95126