labath added inline comments.

================
Comment at: 
packages/Python/lldbsuite/test/functionalities/postmortem/minidump/TestMiniDump.py:53
+        for module in self.target.modules:
+            self.assertTrue(module.IsValid())
+
----------------
lemo wrote:
> labath wrote:
> > Could we strengthen these assertions a bit. Given that this is static data 
> > you are loading, I don't see why you couldn't hard-code the names of the 
> > modules you should expect.
> Done.
> 
> Just curious, do we have any support for golden output files? (it would be 
> great for tests like this)
If you're feeling adventurous, you can try rewriting this as a lit test. You 
should be able to just do a `lldb -c my-core -o "image list"` and FileCheck the 
output.


https://reviews.llvm.org/D45700



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to