xref: /llvm-project/lldb/test/Shell/Settings/TestLineMarkerColor.test (revision 841be9854c496adb1944fbf33af055814366ec86)
1# RUN: %clang_host -g -O0 %S/Inputs/main.c -o %t.out
2# RUN: %lldb -x -b -s %s %t.out | FileCheck %s
3settings set use-color true
4settings set stop-show-line-ansi-prefix "prefix"
5settings set stop-show-line-ansi-suffix "suffix"
6b foo
7run
8c
9settings set stop-show-line-ansi-prefix ${ansi.fg.green}
10settings set stop-show-line-ansi-suffix ${ansi.normal}
11run
12q
13
14# Check the ASCII escape code
15# CHECK-NOT: prefix->suffix
16# CHECK: ->
17# CHECK: {{.*}}->{{.*}}
18