25 lines · plain
1# Modifying the interpreter settings is tricky because they don't take effect2# until we create a new command interpreter, which should be merely an3# implementation detail. This leads to confusing and unexpected scenarios.4#5# Below are a few scenarios that we should fix.6 7# CONTINUE: 1234567898# STOP-NOT: 1111111119# STOP-NOT: 12345678910 11# FIXME: Should stop12# RUN: %lldb -b -o 'settings set interpreter.stop-command-source-on-error false' -s %S/Inputs/StopCommandSource.in | FileCheck %s --check-prefix CONTINUE13 14# FIXME: Should continue15# RUN: not %lldb -b -s %S/Inputs/DontStopCommandSource.in -o 'bogus' -o 'expression 111100000 + 11111' | FileCheck %s --check-prefix STOP16 17# FIXME: Should continue18# RUN: not %lldb -b -o 'settings set interpreter.stop-command-source-on-error false' -o 'bogus' -o 'expression 123400000 + 56789' | FileCheck %s --check-prefix STOP19 20# FIXME: Should continue21# RUN: not %lldb -b -s %S/Inputs/DontStopCommandSource.in | FileCheck %s --check-prefix STOP22 23# FIXME: Should continue24# RUN: not %lldb -b -o 'settings set interpreter.stop-command-source-on-error true' -s %S/Inputs/DontStopCommandSource.in | FileCheck %s --check-prefix STOP25