2019-05-02 01:54:02 +00:00
|
|
|
# Check that stop command source on error.
|
|
|
|
|
|
2020-05-05 10:58:03 -07:00
|
|
|
# RUN: not %lldb -x -b -o "command source -e 1 %s" 2>&1 | FileCheck %s --check-prefix STOP
|
2019-05-02 01:54:02 +00:00
|
|
|
# RUN: %lldb -x -b -o "command source -e 0 %s" 2>&1 | FileCheck %s --check-prefix CONTINUE
|
2020-05-05 10:58:03 -07:00
|
|
|
# RUN: not %lldb -x -b -o 'settings set interpreter.stop-command-source-on-error true' -o "command source %s" 2>&1 | FileCheck %s --check-prefix STOP
|
2019-05-02 01:54:02 +00:00
|
|
|
# RUN: %lldb -x -b -o 'settings set interpreter.stop-command-source-on-error false' -o "command source %s" 2>&1 | FileCheck %s --check-prefix CONTINUE
|
|
|
|
|
|
|
|
|
|
bogus
|
|
|
|
|
p 10+1
|
|
|
|
|
|
2019-05-03 20:58:56 +00:00
|
|
|
# CONTINUE: $0 = 11
|
|
|
|
|
# STOP-NOT: $0 = 11
|