diff options
author | Pavel Labath <labath@google.com> | 2018-01-17 13:46:06 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2018-01-17 13:46:06 +0000 |
commit | 243ea5b5fe3c1f41f6235ad6f13e7980704053fe (patch) | |
tree | b3405fd7ef61df72be9696e95ef3cb067d6dc05a /llvm/docs/CommandGuide/llvm-readobj.rst | |
parent | e3712cf5c4f9a640789c553aca7451754d294014 (diff) | |
download | bcm5719-llvm-243ea5b5fe3c1f41f6235ad6f13e7980704053fe.tar.gz bcm5719-llvm-243ea5b5fe3c1f41f6235ad6f13e7980704053fe.zip |
Simplify some LogTest tests
This removes boilerplate for setting up a log channel and capturing the
output from some of the tests. I do this by moving the setup code into a
test fixture and adding a logAndTakeOutput utility function to log some
string and then retrieve it from the log.
I also use some googlemock goodies to simplify a couple of assertions.
llvm-svn: 322653
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-readobj.rst')
0 files changed, 0 insertions, 0 deletions