annotate lldb/test/Shell/Settings/TestStopCommandSourceOnError.test @ 252:1f2b6ac9f198 llvm-original

LLVM16-1
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 18 Aug 2023 09:04:13 +0900
parents 0572611fdcc8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 # Modifying the interpreter settings is tricky because they don't take effect
anatofuz
parents:
diff changeset
2 # until we create a new command interpreter, which should be merely an
anatofuz
parents:
diff changeset
3 # implementation detail. This leads to confusing and unexpected scenarios.
anatofuz
parents:
diff changeset
4 #
anatofuz
parents:
diff changeset
5 # Below are a few scenarios that we should fix.
anatofuz
parents:
diff changeset
6
anatofuz
parents:
diff changeset
7 # CONTINUE: 123456789
anatofuz
parents:
diff changeset
8 # STOP-NOT: 111111111
anatofuz
parents:
diff changeset
9 # STOP-NOT: 123456789
anatofuz
parents:
diff changeset
10
anatofuz
parents:
diff changeset
11 # FIXME: Should stop
anatofuz
parents:
diff changeset
12 # RUN: %lldb -b -o 'settings set interpreter.stop-command-source-on-error false' -s %S/Inputs/StopCommandSource.in | FileCheck %s --check-prefix CONTINUE
anatofuz
parents:
diff changeset
13
anatofuz
parents:
diff changeset
14 # FIXME: Should continue
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
15 # RUN: not %lldb -b -s %S/Inputs/DontStopCommandSource.in -o 'bogus' -o 'expression 111100000 + 11111' | FileCheck %s --check-prefix STOP
150
anatofuz
parents:
diff changeset
16
anatofuz
parents:
diff changeset
17 # FIXME: Should continue
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
18 # RUN: not %lldb -b -o 'settings set interpreter.stop-command-source-on-error false' -o 'bogus' -o 'expression 123400000 + 56789' | FileCheck %s --check-prefix STOP
150
anatofuz
parents:
diff changeset
19
anatofuz
parents:
diff changeset
20 # FIXME: Should continue
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
21 # RUN: not %lldb -b -s %S/Inputs/DontStopCommandSource.in | FileCheck %s --check-prefix STOP
150
anatofuz
parents:
diff changeset
22
anatofuz
parents:
diff changeset
23 # FIXME: Should continue
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
24 # RUN: not %lldb -b -o 'settings set interpreter.stop-command-source-on-error true' -s %S/Inputs/DontStopCommandSource.in | FileCheck %s --check-prefix STOP