[test] Add a FIXME test for stop-command-source-on-error
authorJonas Devlieghere <jonas@devlieghere.com>
Fri, 6 Sep 2019 21:43:33 +0000 (21:43 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Fri, 6 Sep 2019 21:43:33 +0000 (21:43 +0000)
commit92ada4ab0c7bbb2fbeb4ccec8b31e3bfcc3829b7
treedc64b073fd02d6c6c5754ce42745c27f2bf93986
parentb482db6dfeda8631afae3ca706ad3e3ccfd87d5d
[test] Add a FIXME test for stop-command-source-on-error

Modifying the interpreter settings is tricky because they don't take
effect until we create a new command interpreter, which should be merely
an implementation detail. This leads to confusing and unexpected
scenarios.

This adds a test cases with FIXMEs for some of the odd scenarios I
encountered. I didn't XFAIL the test because I don't think there's a way
to get an unexpected PASS if any of the commands succeeds and splitting
up the file in multiple tests seems excessive.

llvm-svn: 371259
lldb/lit/Settings/Inputs/DontStopCommandSource.in [new file with mode: 0644]
lldb/lit/Settings/Inputs/StopCommandSource.in [new file with mode: 0644]
lldb/lit/Settings/TestStopCommandSourceOnError.test [new file with mode: 0644]