[test] Print the log output on failure.
authorJonas Devlieghere <jonas@devlieghere.com>
Fri, 13 Sep 2019 21:15:03 +0000 (21:15 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Fri, 13 Sep 2019 21:15:03 +0000 (21:15 +0000)
commita3e27633a839cf1c45b640f88e00530c59f10e8d
tree078dd7077235aef3214ebda4b7f081fd9e94671e
parentfe4dc2e7132492a970ac60d725dea686ffe5f779
[test] Print the log output on failure.

This ensures that if the assertion fails we dump the log content. This
should help me investigate what the output looks like on Windows, where
the test is failing.

llvm-svn: 371899
lldb/packages/Python/lldbsuite/test/api/log/TestAPILog.py