Re: [lldb-dev] lldb-server tests

2017-05-22 Thread Pavel Labath via lldb-dev
Note to apple folks: The lldb-server test suite is also used for testing debugserver. I'm not sure how much you guys care about these tests (the commit history shows only Todd touched them), but we would be interested in hearing your thoughts on this. On 16 May 2017 at 12:08, Pavel Labath wrote:

Re: [lldb-dev] lldb-server tests

2017-05-16 Thread Pavel Labath via lldb-dev
I wasn't forgetting about this -- this is what i meant by a "FileCheck-like utility" in the original email. The thing I am afraid of there is the complexity hidden in the "" in your example. The thing is this will rarely be a fixed string. For example, to set a breakpoint, you need to send other p

Re: [lldb-dev] lldb-server tests

2017-05-15 Thread Zachary Turner via lldb-dev
One thing about lit that most people either don't understand or forget about is that FileCheck has nothing to do with lit. You can have lit tests without FileCheck. It's more work because you would have to define an LLDBServerTestFormat and invent some DSL that isn't just a bunch of run lines and c

Re: [lldb-dev] lldb-server tests

2017-05-15 Thread Kamil Rytarowski via lldb-dev
Thank you for this work. I will add a usual requirement - please make sure that "check-lldb-unit" works in standalone builds. On 15.05.2017 16:33, Pavel Labath wrote: > Hello all, > > In case you haven't noticed it, I'd like to draw your attention to > D32930, where we're proposing a new test fr

[lldb-dev] lldb-server tests

2017-05-15 Thread Pavel Labath via lldb-dev
Hello all, In case you haven't noticed it, I'd like to draw your attention to D32930, where we're proposing a new test framework for lldb-server tests. The discussion has so far been about low-level implementation details, so you don't have to read through it if you don't feel like to (but I do en