jingham added a comment.
This test has the advantage over running lldb in batch mode that it isolates
the tests you write using it from the output format of the break command.
The lldb test suite used to check the output of break all over the place, and
that meant when I went to change that output to add some info and many tests
broke for no good reason. That's why I changed all the tests to use the
lldbutil.run_break_set_* commands so I wouldn't have to deal with this again.
Not having to do that for these tests some time in the future to me justifies
the effort of supporting this small amount of code.
lldb-commits mailing list