• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Check that stop command source on error.
2
3# RUN: not %lldb -x -b -o "command source -e 1 %s" 2>&1 | FileCheck %s --check-prefix STOP
4# RUN: %lldb -x -b -o "command source -e 0 %s" 2>&1 | FileCheck %s --check-prefix CONTINUE
5# 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
6# 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
7
8bogus
9p 10+1
10
11# CONTINUE: $0 = 11
12# STOP-NOT: $0 = 11
13