Re: [lldb-dev] How/where to add test cases in LLDB.

2020-01-13 Thread Adrian Prantl via lldb-dev
Please note that when you are testing for a DWARF 5 feature specifically, you should think about using either Assembler or yaml2obj as input to lock down the binary encoding. If you do this, it would be best to not require a living process in your test, so the test can run even on platforms that

Re: [lldb-dev] How/where to add test cases in LLDB.

2020-01-10 Thread Jonas Devlieghere via lldb-dev
Hey Sourabh, You'll want to take a look at the existing tests in `test/Shell`. These tests run one or more shell commands and uses FileCheck to verify that the output match what you expect. These tests use lldb's batch mode, where lldb commands are executed one after another, rather than interacti