aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/CodeMetrics.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2016-03-08 18:58:48 +0000
committerSean Callanan <scallanan@apple.com>2016-03-08 18:58:48 +0000
commitbbde9083ad0fa26e38a6d56598c6d877ecf234b2 (patch)
tree6a974ac3d3102dc334e40a97260e90dfc0aa9b88 /llvm/lib/Analysis/CodeMetrics.cpp
parent2d5e95c00d84856859f673539b608844cd8a69b2 (diff)
downloadllvm-bbde9083ad0fa26e38a6d56598c6d877ecf234b2.zip
llvm-bbde9083ad0fa26e38a6d56598c6d877ecf234b2.tar.gz
llvm-bbde9083ad0fa26e38a6d56598c6d877ecf234b2.tar.bz2
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
Diffstat (limited to 'llvm/lib/Analysis/CodeMetrics.cpp')
0 files changed, 0 insertions, 0 deletions