llvm-project/lldb/packages/Python/lldbsuite
Sean Callanan bbde9083ad Made self.expect() errors a little more readable in the testsuite.
self.expect() had two problems:

- If there was a substrs argument, then it overwrote the variable containing
  the command to run with the last substr.  That meant nonsense command text in
  testsuite errors.

- The actual output is not printed, which makes fixing testsuite failures a bit
  annoying (you end up having to use the -tv arguments to dotest).

This fixes both of these issues.  We could do even better, pretty-printing the
criteria for "correct" output, but this at least makes dealing with errors a bit
better.

llvm-svn: 262950
2016-03-08 18:58:48 +00:00
..
support Move some of the common decorators to decorators.py. 2016-02-04 18:03:01 +00:00
test Made self.expect() errors a little more readable in the testsuite. 2016-03-08 18:58:48 +00:00
__init__.py Added lldbsuite.lldb_test_root, switched formatter to use it. 2015-12-07 06:19:48 +00:00