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
6 lines
293 B
Plaintext
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
|