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

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

2020-01-10 Thread Sourabh Singh Tomar via lldb-dev
Hello Everyone, I've wrote a patch for extending support for new forms[DWARFv5] in macro section. Planning to file a review soon. But I'm stuck with writing test case for this. My feature works well when using LLDB in interactively, but I need to write a test case to accompany my patch. To put t